client

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserToGroupRequest

type AddUserToGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (AddUserToGroupRequest) GoString

func (s AddUserToGroupRequest) GoString() string

func (*AddUserToGroupRequest) SetGroupName

func (*AddUserToGroupRequest) SetUserName

func (AddUserToGroupRequest) String

func (s AddUserToGroupRequest) String() string

type AddUserToGroupResponse

type AddUserToGroupResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddUserToGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddUserToGroupResponse) GoString

func (s AddUserToGroupResponse) GoString() string

func (*AddUserToGroupResponse) SetBody

func (*AddUserToGroupResponse) SetHeaders

func (*AddUserToGroupResponse) SetStatusCode

func (AddUserToGroupResponse) String

func (s AddUserToGroupResponse) String() string

type AddUserToGroupResponseBody

type AddUserToGroupResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 1B968853-B423-63A6-FE1F-45E81BC2AD61
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddUserToGroupResponseBody) GoString

func (s AddUserToGroupResponseBody) GoString() string

func (*AddUserToGroupResponseBody) SetRequestId

func (AddUserToGroupResponseBody) String

type AttachPolicyToGroupRequest

type AttachPolicyToGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// dev
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (AttachPolicyToGroupRequest) GoString

func (s AttachPolicyToGroupRequest) GoString() string

func (*AttachPolicyToGroupRequest) SetGroupName

func (*AttachPolicyToGroupRequest) SetPolicyName

func (*AttachPolicyToGroupRequest) SetPolicyType

func (AttachPolicyToGroupRequest) String

type AttachPolicyToGroupResponse

type AttachPolicyToGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachPolicyToGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachPolicyToGroupResponse) GoString

func (s AttachPolicyToGroupResponse) GoString() string

func (*AttachPolicyToGroupResponse) SetBody

func (*AttachPolicyToGroupResponse) SetHeaders

func (*AttachPolicyToGroupResponse) SetStatusCode

func (AttachPolicyToGroupResponse) String

type AttachPolicyToGroupResponseBody

type AttachPolicyToGroupResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AttachPolicyToGroupResponseBody) GoString

func (*AttachPolicyToGroupResponseBody) SetRequestId

func (AttachPolicyToGroupResponseBody) String

type AttachPolicyToRoleRequest

type AttachPolicyToRoleRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the RAM role.
	//
	// example:
	//
	// OSSAdminRole
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (AttachPolicyToRoleRequest) GoString

func (s AttachPolicyToRoleRequest) GoString() string

func (*AttachPolicyToRoleRequest) SetPolicyName

func (*AttachPolicyToRoleRequest) SetPolicyType

func (*AttachPolicyToRoleRequest) SetRoleName

func (AttachPolicyToRoleRequest) String

func (s AttachPolicyToRoleRequest) String() string

type AttachPolicyToRoleResponse

type AttachPolicyToRoleResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachPolicyToRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachPolicyToRoleResponse) GoString

func (s AttachPolicyToRoleResponse) GoString() string

func (*AttachPolicyToRoleResponse) SetBody

func (*AttachPolicyToRoleResponse) SetHeaders

func (*AttachPolicyToRoleResponse) SetStatusCode

func (AttachPolicyToRoleResponse) String

type AttachPolicyToRoleResponseBody

type AttachPolicyToRoleResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AttachPolicyToRoleResponseBody) GoString

func (*AttachPolicyToRoleResponseBody) SetRequestId

func (AttachPolicyToRoleResponseBody) String

type AttachPolicyToUserRequest

type AttachPolicyToUserRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (AttachPolicyToUserRequest) GoString

func (s AttachPolicyToUserRequest) GoString() string

func (*AttachPolicyToUserRequest) SetPolicyName

func (*AttachPolicyToUserRequest) SetPolicyType

func (*AttachPolicyToUserRequest) SetUserName

func (AttachPolicyToUserRequest) String

func (s AttachPolicyToUserRequest) String() string

type AttachPolicyToUserResponse

type AttachPolicyToUserResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachPolicyToUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachPolicyToUserResponse) GoString

func (s AttachPolicyToUserResponse) GoString() string

func (*AttachPolicyToUserResponse) SetBody

func (*AttachPolicyToUserResponse) SetHeaders

func (*AttachPolicyToUserResponse) SetStatusCode

func (AttachPolicyToUserResponse) String

type AttachPolicyToUserResponseBody

type AttachPolicyToUserResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AttachPolicyToUserResponseBody) GoString

func (*AttachPolicyToUserResponseBody) SetRequestId

func (AttachPolicyToUserResponseBody) String

type BindMFADeviceRequest

type BindMFADeviceRequest struct {
	// The first authentication code.
	//
	// example:
	//
	// 11****
	AuthenticationCode1 *string `json:"AuthenticationCode1,omitempty" xml:"AuthenticationCode1,omitempty"`
	// The second authentication code.
	//
	// example:
	//
	// 33****
	AuthenticationCode2 *string `json:"AuthenticationCode2,omitempty" xml:"AuthenticationCode2,omitempty"`
	// The serial number of the MFA device.
	//
	// example:
	//
	// acs:ram::123456789012****:mfa/device002
	SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (BindMFADeviceRequest) GoString

func (s BindMFADeviceRequest) GoString() string

func (*BindMFADeviceRequest) SetAuthenticationCode1

func (s *BindMFADeviceRequest) SetAuthenticationCode1(v string) *BindMFADeviceRequest

func (*BindMFADeviceRequest) SetAuthenticationCode2

func (s *BindMFADeviceRequest) SetAuthenticationCode2(v string) *BindMFADeviceRequest

func (*BindMFADeviceRequest) SetSerialNumber

func (s *BindMFADeviceRequest) SetSerialNumber(v string) *BindMFADeviceRequest

func (*BindMFADeviceRequest) SetUserName

func (BindMFADeviceRequest) String

func (s BindMFADeviceRequest) String() string

type BindMFADeviceResponse

type BindMFADeviceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BindMFADeviceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (BindMFADeviceResponse) GoString

func (s BindMFADeviceResponse) GoString() string

func (*BindMFADeviceResponse) SetBody

func (*BindMFADeviceResponse) SetHeaders

func (*BindMFADeviceResponse) SetStatusCode

func (s *BindMFADeviceResponse) SetStatusCode(v int32) *BindMFADeviceResponse

func (BindMFADeviceResponse) String

func (s BindMFADeviceResponse) String() string

type BindMFADeviceResponseBody

type BindMFADeviceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (BindMFADeviceResponseBody) GoString

func (s BindMFADeviceResponseBody) GoString() string

func (*BindMFADeviceResponseBody) SetRequestId

func (BindMFADeviceResponseBody) String

func (s BindMFADeviceResponseBody) String() string

type ChangePasswordRequest

type ChangePasswordRequest struct {
	// The new password that is used to log on to the console.
	//
	// The password must meet the complexity requirements. For more information, see [SetPasswordPolicy](https://help.aliyun.com/document_detail/28739.html).
	//
	// example:
	//
	// aw$2****
	NewPassword *string `json:"NewPassword,omitempty" xml:"NewPassword,omitempty"`
	// The old password that is used to log on to the console.
	//
	// example:
	//
	// 12****
	OldPassword *string `json:"OldPassword,omitempty" xml:"OldPassword,omitempty"`
}

func (ChangePasswordRequest) GoString

func (s ChangePasswordRequest) GoString() string

func (*ChangePasswordRequest) SetNewPassword

func (s *ChangePasswordRequest) SetNewPassword(v string) *ChangePasswordRequest

func (*ChangePasswordRequest) SetOldPassword

func (s *ChangePasswordRequest) SetOldPassword(v string) *ChangePasswordRequest

func (ChangePasswordRequest) String

func (s ChangePasswordRequest) String() string

type ChangePasswordResponse

type ChangePasswordResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChangePasswordResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ChangePasswordResponse) GoString

func (s ChangePasswordResponse) GoString() string

func (*ChangePasswordResponse) SetBody

func (*ChangePasswordResponse) SetHeaders

func (*ChangePasswordResponse) SetStatusCode

func (ChangePasswordResponse) String

func (s ChangePasswordResponse) String() string

type ChangePasswordResponseBody

type ChangePasswordResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ChangePasswordResponseBody) GoString

func (s ChangePasswordResponseBody) GoString() string

func (*ChangePasswordResponseBody) SetRequestId

func (ChangePasswordResponseBody) String

type ClearAccountAliasResponse

type ClearAccountAliasResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ClearAccountAliasResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ClearAccountAliasResponse) GoString

func (s ClearAccountAliasResponse) GoString() string

func (*ClearAccountAliasResponse) SetBody

func (*ClearAccountAliasResponse) SetHeaders

func (*ClearAccountAliasResponse) SetStatusCode

func (ClearAccountAliasResponse) String

func (s ClearAccountAliasResponse) String() string

type ClearAccountAliasResponseBody

type ClearAccountAliasResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ClearAccountAliasResponseBody) GoString

func (*ClearAccountAliasResponseBody) SetRequestId

func (ClearAccountAliasResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AddUserToGroup

func (client *Client) AddUserToGroup(request *AddUserToGroupRequest) (_result *AddUserToGroupResponse, _err error)

Summary:

Adds a Resource Access Management (RAM) user to a RAM user group.

@param request - AddUserToGroupRequest

@return AddUserToGroupResponse

func (*Client) AddUserToGroupWithOptions

func (client *Client) AddUserToGroupWithOptions(request *AddUserToGroupRequest, runtime *util.RuntimeOptions) (_result *AddUserToGroupResponse, _err error)

Summary:

Adds a Resource Access Management (RAM) user to a RAM user group.

@param request - AddUserToGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return AddUserToGroupResponse

func (*Client) AttachPolicyToGroup

func (client *Client) AttachPolicyToGroup(request *AttachPolicyToGroupRequest) (_result *AttachPolicyToGroupResponse, _err error)

Summary:

Attaches a policy to a Resource Access Management (RAM) user group.

@param request - AttachPolicyToGroupRequest

@return AttachPolicyToGroupResponse

func (*Client) AttachPolicyToGroupWithOptions

func (client *Client) AttachPolicyToGroupWithOptions(request *AttachPolicyToGroupRequest, runtime *util.RuntimeOptions) (_result *AttachPolicyToGroupResponse, _err error)

Summary:

Attaches a policy to a Resource Access Management (RAM) user group.

@param request - AttachPolicyToGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return AttachPolicyToGroupResponse

func (*Client) AttachPolicyToRole

func (client *Client) AttachPolicyToRole(request *AttachPolicyToRoleRequest) (_result *AttachPolicyToRoleResponse, _err error)

Summary:

Attaches a policy to a Resource Access Management (RAM) role.

@param request - AttachPolicyToRoleRequest

@return AttachPolicyToRoleResponse

func (*Client) AttachPolicyToRoleWithOptions

func (client *Client) AttachPolicyToRoleWithOptions(request *AttachPolicyToRoleRequest, runtime *util.RuntimeOptions) (_result *AttachPolicyToRoleResponse, _err error)

Summary:

Attaches a policy to a Resource Access Management (RAM) role.

@param request - AttachPolicyToRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return AttachPolicyToRoleResponse

func (*Client) AttachPolicyToUser

func (client *Client) AttachPolicyToUser(request *AttachPolicyToUserRequest) (_result *AttachPolicyToUserResponse, _err error)

Summary:

Attaches a policy to a Resource Access Management (RAM) user.

@param request - AttachPolicyToUserRequest

@return AttachPolicyToUserResponse

func (*Client) AttachPolicyToUserWithOptions

func (client *Client) AttachPolicyToUserWithOptions(request *AttachPolicyToUserRequest, runtime *util.RuntimeOptions) (_result *AttachPolicyToUserResponse, _err error)

Summary:

Attaches a policy to a Resource Access Management (RAM) user.

@param request - AttachPolicyToUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return AttachPolicyToUserResponse

func (*Client) BindMFADevice

func (client *Client) BindMFADevice(request *BindMFADeviceRequest) (_result *BindMFADeviceResponse, _err error)

Summary:

Binds a multi-factor authentication (MFA) device to a Resource Access Management (RAM) user.

@param request - BindMFADeviceRequest

@return BindMFADeviceResponse

func (*Client) BindMFADeviceWithOptions

func (client *Client) BindMFADeviceWithOptions(request *BindMFADeviceRequest, runtime *util.RuntimeOptions) (_result *BindMFADeviceResponse, _err error)

Summary:

Binds a multi-factor authentication (MFA) device to a Resource Access Management (RAM) user.

@param request - BindMFADeviceRequest

@param runtime - runtime options for this request RuntimeOptions

@return BindMFADeviceResponse

func (*Client) ChangePassword

func (client *Client) ChangePassword(request *ChangePasswordRequest) (_result *ChangePasswordResponse, _err error)

Summary:

Changes the password that is used to log on to the console for a Resource Access Management (RAM) user.

Description:

> This operation is available only for RAM users. Before you call this operation, make sure that `AllowUserToChangePassword` in [SetSecurityPreference](https://help.aliyun.com/document_detail/43765.html) is set to `True`. The value True indicates that RAM users can manage their passwords.

@param request - ChangePasswordRequest

@return ChangePasswordResponse

func (*Client) ChangePasswordWithOptions

func (client *Client) ChangePasswordWithOptions(request *ChangePasswordRequest, runtime *util.RuntimeOptions) (_result *ChangePasswordResponse, _err error)

Summary:

Changes the password that is used to log on to the console for a Resource Access Management (RAM) user.

Description:

> This operation is available only for RAM users. Before you call this operation, make sure that `AllowUserToChangePassword` in [SetSecurityPreference](https://help.aliyun.com/document_detail/43765.html) is set to `True`. The value True indicates that RAM users can manage their passwords.

@param request - ChangePasswordRequest

@param runtime - runtime options for this request RuntimeOptions

@return ChangePasswordResponse

func (*Client) ClearAccountAlias

func (client *Client) ClearAccountAlias() (_result *ClearAccountAliasResponse, _err error)

Summary:

Deletes the alias of an Alibaba Cloud account.

@return ClearAccountAliasResponse

func (*Client) ClearAccountAliasWithOptions

func (client *Client) ClearAccountAliasWithOptions(runtime *util.RuntimeOptions) (_result *ClearAccountAliasResponse, _err error)

Summary:

Deletes the alias of an Alibaba Cloud account.

@param request - ClearAccountAliasRequest

@param runtime - runtime options for this request RuntimeOptions

@return ClearAccountAliasResponse

func (*Client) CreateAccessKey

func (client *Client) CreateAccessKey(request *CreateAccessKeyRequest) (_result *CreateAccessKeyResponse, _err error)

Summary:

Creates an AccessKey pair for a Resource Access Management (RAM) user.

@param request - CreateAccessKeyRequest

@return CreateAccessKeyResponse

func (*Client) CreateAccessKeyWithOptions

func (client *Client) CreateAccessKeyWithOptions(request *CreateAccessKeyRequest, runtime *util.RuntimeOptions) (_result *CreateAccessKeyResponse, _err error)

Summary:

Creates an AccessKey pair for a Resource Access Management (RAM) user.

@param request - CreateAccessKeyRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateAccessKeyResponse

func (*Client) CreateGroup

func (client *Client) CreateGroup(request *CreateGroupRequest) (_result *CreateGroupResponse, _err error)

Summary:

Creates a RAM user group.

@param request - CreateGroupRequest

@return CreateGroupResponse

func (*Client) CreateGroupWithOptions

func (client *Client) CreateGroupWithOptions(request *CreateGroupRequest, runtime *util.RuntimeOptions) (_result *CreateGroupResponse, _err error)

Summary:

Creates a RAM user group.

@param request - CreateGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateGroupResponse

func (*Client) CreateLoginProfile

func (client *Client) CreateLoginProfile(request *CreateLoginProfileRequest) (_result *CreateLoginProfileResponse, _err error)

Summary:

Enables console logon for a Resource Access Management (RAM) user.

@param request - CreateLoginProfileRequest

@return CreateLoginProfileResponse

func (*Client) CreateLoginProfileWithOptions

func (client *Client) CreateLoginProfileWithOptions(request *CreateLoginProfileRequest, runtime *util.RuntimeOptions) (_result *CreateLoginProfileResponse, _err error)

Summary:

Enables console logon for a Resource Access Management (RAM) user.

@param request - CreateLoginProfileRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateLoginProfileResponse

func (*Client) CreatePolicy

func (client *Client) CreatePolicy(request *CreatePolicyRequest) (_result *CreatePolicyResponse, _err error)

Summary:

Creates a custom policy.

Description:

For more information about policies, see [Policy overview](https://help.aliyun.com/document_detail/93732.html).

This topic provides an example on how to create a custom policy to query Elastic Compute Service (ECS) instances in a specific region.

@param request - CreatePolicyRequest

@return CreatePolicyResponse

func (*Client) CreatePolicyVersion

func (client *Client) CreatePolicyVersion(request *CreatePolicyVersionRequest) (_result *CreatePolicyVersionResponse, _err error)

Summary:

Creates a version for a policy.

@param request - CreatePolicyVersionRequest

@return CreatePolicyVersionResponse

func (*Client) CreatePolicyVersionWithOptions

func (client *Client) CreatePolicyVersionWithOptions(request *CreatePolicyVersionRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyVersionResponse, _err error)

Summary:

Creates a version for a policy.

@param request - CreatePolicyVersionRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreatePolicyVersionResponse

func (*Client) CreatePolicyWithOptions

func (client *Client) CreatePolicyWithOptions(tmpReq *CreatePolicyRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyResponse, _err error)

Summary:

Creates a custom policy.

Description:

For more information about policies, see [Policy overview](https://help.aliyun.com/document_detail/93732.html).

This topic provides an example on how to create a custom policy to query Elastic Compute Service (ECS) instances in a specific region.

@param tmpReq - CreatePolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreatePolicyResponse

func (*Client) CreateRole

func (client *Client) CreateRole(request *CreateRoleRequest) (_result *CreateRoleResponse, _err error)

Summary:

Creates a Resource Access Management (RAM) role.

Description:

### [](#)Operation description

For more information about RAM roles, see [Overview of RAM roles](https://help.aliyun.com/document_detail/93689.html).

@param request - CreateRoleRequest

@return CreateRoleResponse

func (*Client) CreateRoleWithOptions

func (client *Client) CreateRoleWithOptions(tmpReq *CreateRoleRequest, runtime *util.RuntimeOptions) (_result *CreateRoleResponse, _err error)

Summary:

Creates a Resource Access Management (RAM) role.

Description:

### [](#)Operation description

For more information about RAM roles, see [Overview of RAM roles](https://help.aliyun.com/document_detail/93689.html).

@param tmpReq - CreateRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateRoleResponse

func (*Client) CreateUser

func (client *Client) CreateUser(request *CreateUserRequest) (_result *CreateUserResponse, _err error)

Summary:

Creates a Resource Access Management (RAM) user.

Description:

This topic provides an example on how to create a RAM user named `alice`.

@param request - CreateUserRequest

@return CreateUserResponse

func (*Client) CreateUserWithOptions

func (client *Client) CreateUserWithOptions(request *CreateUserRequest, runtime *util.RuntimeOptions) (_result *CreateUserResponse, _err error)

Summary:

Creates a Resource Access Management (RAM) user.

Description:

This topic provides an example on how to create a RAM user named `alice`.

@param request - CreateUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateUserResponse

func (*Client) CreateVirtualMFADevice

func (client *Client) CreateVirtualMFADevice(request *CreateVirtualMFADeviceRequest) (_result *CreateVirtualMFADeviceResponse, _err error)

Summary:

Creates a multi-factor authentication (MFA) device.

@param request - CreateVirtualMFADeviceRequest

@return CreateVirtualMFADeviceResponse

func (*Client) CreateVirtualMFADeviceWithOptions

func (client *Client) CreateVirtualMFADeviceWithOptions(request *CreateVirtualMFADeviceRequest, runtime *util.RuntimeOptions) (_result *CreateVirtualMFADeviceResponse, _err error)

Summary:

Creates a multi-factor authentication (MFA) device.

@param request - CreateVirtualMFADeviceRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateVirtualMFADeviceResponse

func (*Client) DecodeDiagnosticMessage added in v2.1.0

func (client *Client) DecodeDiagnosticMessage(request *DecodeDiagnosticMessageRequest) (_result *DecodeDiagnosticMessageResponse, _err error)

Summary:

Decodes the diagnostic information in the response that contains an access denied error. The error is caused by no RAM permissions.

@param request - DecodeDiagnosticMessageRequest

@return DecodeDiagnosticMessageResponse

func (*Client) DecodeDiagnosticMessageWithOptions added in v2.1.0

func (client *Client) DecodeDiagnosticMessageWithOptions(request *DecodeDiagnosticMessageRequest, runtime *util.RuntimeOptions) (_result *DecodeDiagnosticMessageResponse, _err error)

Summary:

Decodes the diagnostic information in the response that contains an access denied error. The error is caused by no RAM permissions.

@param request - DecodeDiagnosticMessageRequest

@param runtime - runtime options for this request RuntimeOptions

@return DecodeDiagnosticMessageResponse

func (*Client) DeleteAccessKey

func (client *Client) DeleteAccessKey(request *DeleteAccessKeyRequest) (_result *DeleteAccessKeyResponse, _err error)

Summary:

Deletes an AccessKey pair of a Resource Access Management (RAM) user.

@param request - DeleteAccessKeyRequest

@return DeleteAccessKeyResponse

func (*Client) DeleteAccessKeyWithOptions

func (client *Client) DeleteAccessKeyWithOptions(request *DeleteAccessKeyRequest, runtime *util.RuntimeOptions) (_result *DeleteAccessKeyResponse, _err error)

Summary:

Deletes an AccessKey pair of a Resource Access Management (RAM) user.

@param request - DeleteAccessKeyRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteAccessKeyResponse

func (*Client) DeleteGroup

func (client *Client) DeleteGroup(request *DeleteGroupRequest) (_result *DeleteGroupResponse, _err error)

Summary:

Deletes a Resource Access Management (RAM) user group.

Description:

Before you delete a RAM user group, make sure that no policies are attached to the group and no RAM users are included in the group.

@param request - DeleteGroupRequest

@return DeleteGroupResponse

func (*Client) DeleteGroupWithOptions

func (client *Client) DeleteGroupWithOptions(request *DeleteGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteGroupResponse, _err error)

Summary:

Deletes a Resource Access Management (RAM) user group.

Description:

Before you delete a RAM user group, make sure that no policies are attached to the group and no RAM users are included in the group.

@param request - DeleteGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteGroupResponse

func (*Client) DeleteLoginProfile

func (client *Client) DeleteLoginProfile(request *DeleteLoginProfileRequest) (_result *DeleteLoginProfileResponse, _err error)

Summary:

Disables console logon for a Resource Access Management (RAM) user.

@param request - DeleteLoginProfileRequest

@return DeleteLoginProfileResponse

func (*Client) DeleteLoginProfileWithOptions

func (client *Client) DeleteLoginProfileWithOptions(request *DeleteLoginProfileRequest, runtime *util.RuntimeOptions) (_result *DeleteLoginProfileResponse, _err error)

Summary:

Disables console logon for a Resource Access Management (RAM) user.

@param request - DeleteLoginProfileRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteLoginProfileResponse

func (*Client) DeletePolicy

func (client *Client) DeletePolicy(request *DeletePolicyRequest) (_result *DeletePolicyResponse, _err error)

Summary:

Deletes a policy.

@param request - DeletePolicyRequest

@return DeletePolicyResponse

func (*Client) DeletePolicyVersion

func (client *Client) DeletePolicyVersion(request *DeletePolicyVersionRequest) (_result *DeletePolicyVersionResponse, _err error)

Summary:

Deletes a policy version.

@param request - DeletePolicyVersionRequest

@return DeletePolicyVersionResponse

func (*Client) DeletePolicyVersionWithOptions

func (client *Client) DeletePolicyVersionWithOptions(request *DeletePolicyVersionRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyVersionResponse, _err error)

Summary:

Deletes a policy version.

@param request - DeletePolicyVersionRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeletePolicyVersionResponse

func (*Client) DeletePolicyWithOptions

func (client *Client) DeletePolicyWithOptions(request *DeletePolicyRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyResponse, _err error)

Summary:

Deletes a policy.

@param request - DeletePolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeletePolicyResponse

func (*Client) DeleteRole

func (client *Client) DeleteRole(request *DeleteRoleRequest) (_result *DeleteRoleResponse, _err error)

Summary:

Deletes a Resource Access Management (RAM) role.

@param request - DeleteRoleRequest

@return DeleteRoleResponse

func (*Client) DeleteRoleWithOptions

func (client *Client) DeleteRoleWithOptions(request *DeleteRoleRequest, runtime *util.RuntimeOptions) (_result *DeleteRoleResponse, _err error)

Summary:

Deletes a Resource Access Management (RAM) role.

@param request - DeleteRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteRoleResponse

func (*Client) DeleteUser

func (client *Client) DeleteUser(request *DeleteUserRequest) (_result *DeleteUserResponse, _err error)

Summary:

Deletes a Resource Access Management (RAM) user.

Description:

Before you delete a RAM user, make sure that no policies are attached to the RAM user and that the RAM user does not belong to any groups.

@param request - DeleteUserRequest

@return DeleteUserResponse

func (*Client) DeleteUserWithOptions

func (client *Client) DeleteUserWithOptions(request *DeleteUserRequest, runtime *util.RuntimeOptions) (_result *DeleteUserResponse, _err error)

Summary:

Deletes a Resource Access Management (RAM) user.

Description:

Before you delete a RAM user, make sure that no policies are attached to the RAM user and that the RAM user does not belong to any groups.

@param request - DeleteUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteUserResponse

func (*Client) DeleteVirtualMFADevice

func (client *Client) DeleteVirtualMFADevice(request *DeleteVirtualMFADeviceRequest) (_result *DeleteVirtualMFADeviceResponse, _err error)

Summary:

Deletes a multi-factor authentication (MFA) device.

@param request - DeleteVirtualMFADeviceRequest

@return DeleteVirtualMFADeviceResponse

func (*Client) DeleteVirtualMFADeviceWithOptions

func (client *Client) DeleteVirtualMFADeviceWithOptions(request *DeleteVirtualMFADeviceRequest, runtime *util.RuntimeOptions) (_result *DeleteVirtualMFADeviceResponse, _err error)

Summary:

Deletes a multi-factor authentication (MFA) device.

@param request - DeleteVirtualMFADeviceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteVirtualMFADeviceResponse

func (*Client) DetachPolicyFromGroup

func (client *Client) DetachPolicyFromGroup(request *DetachPolicyFromGroupRequest) (_result *DetachPolicyFromGroupResponse, _err error)

Summary:

Detaches a policy from a Resource Access Management (RAM) user group.

@param request - DetachPolicyFromGroupRequest

@return DetachPolicyFromGroupResponse

func (*Client) DetachPolicyFromGroupWithOptions

func (client *Client) DetachPolicyFromGroupWithOptions(request *DetachPolicyFromGroupRequest, runtime *util.RuntimeOptions) (_result *DetachPolicyFromGroupResponse, _err error)

Summary:

Detaches a policy from a Resource Access Management (RAM) user group.

@param request - DetachPolicyFromGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return DetachPolicyFromGroupResponse

func (*Client) DetachPolicyFromRole

func (client *Client) DetachPolicyFromRole(request *DetachPolicyFromRoleRequest) (_result *DetachPolicyFromRoleResponse, _err error)

Summary:

Detaches a policy from a Resource Access Management (RAM) role.

@param request - DetachPolicyFromRoleRequest

@return DetachPolicyFromRoleResponse

func (*Client) DetachPolicyFromRoleWithOptions

func (client *Client) DetachPolicyFromRoleWithOptions(request *DetachPolicyFromRoleRequest, runtime *util.RuntimeOptions) (_result *DetachPolicyFromRoleResponse, _err error)

Summary:

Detaches a policy from a Resource Access Management (RAM) role.

@param request - DetachPolicyFromRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return DetachPolicyFromRoleResponse

func (*Client) DetachPolicyFromUser

func (client *Client) DetachPolicyFromUser(request *DetachPolicyFromUserRequest) (_result *DetachPolicyFromUserResponse, _err error)

Summary:

Detaches a policy from a Resource Access Management (RAM) user.

@param request - DetachPolicyFromUserRequest

@return DetachPolicyFromUserResponse

func (*Client) DetachPolicyFromUserWithOptions

func (client *Client) DetachPolicyFromUserWithOptions(request *DetachPolicyFromUserRequest, runtime *util.RuntimeOptions) (_result *DetachPolicyFromUserResponse, _err error)

Summary:

Detaches a policy from a Resource Access Management (RAM) user.

@param request - DetachPolicyFromUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return DetachPolicyFromUserResponse

func (*Client) GetAccessKeyLastUsed

func (client *Client) GetAccessKeyLastUsed(request *GetAccessKeyLastUsedRequest) (_result *GetAccessKeyLastUsedResponse, _err error)

@param request - GetAccessKeyLastUsedRequest

@return GetAccessKeyLastUsedResponse

func (*Client) GetAccessKeyLastUsedWithOptions

func (client *Client) GetAccessKeyLastUsedWithOptions(request *GetAccessKeyLastUsedRequest, runtime *util.RuntimeOptions) (_result *GetAccessKeyLastUsedResponse, _err error)

@param request - GetAccessKeyLastUsedRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetAccessKeyLastUsedResponse

func (*Client) GetAccountAlias

func (client *Client) GetAccountAlias() (_result *GetAccountAliasResponse, _err error)

Summary:

Queries the alias of an Alibaba Cloud account.

@return GetAccountAliasResponse

func (*Client) GetAccountAliasWithOptions

func (client *Client) GetAccountAliasWithOptions(runtime *util.RuntimeOptions) (_result *GetAccountAliasResponse, _err error)

Summary:

Queries the alias of an Alibaba Cloud account.

@param request - GetAccountAliasRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetAccountAliasResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetGroup

func (client *Client) GetGroup(request *GetGroupRequest) (_result *GetGroupResponse, _err error)

Summary:

Queries information about a Resource Access Management (RAM) user group.

@param request - GetGroupRequest

@return GetGroupResponse

func (*Client) GetGroupWithOptions

func (client *Client) GetGroupWithOptions(request *GetGroupRequest, runtime *util.RuntimeOptions) (_result *GetGroupResponse, _err error)

Summary:

Queries information about a Resource Access Management (RAM) user group.

@param request - GetGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetGroupResponse

func (*Client) GetLoginProfile

func (client *Client) GetLoginProfile(request *GetLoginProfileRequest) (_result *GetLoginProfileResponse, _err error)

Summary:

Queries the logon configurations of a Resource Access Management (RAM) user.

@param request - GetLoginProfileRequest

@return GetLoginProfileResponse

func (*Client) GetLoginProfileWithOptions

func (client *Client) GetLoginProfileWithOptions(request *GetLoginProfileRequest, runtime *util.RuntimeOptions) (_result *GetLoginProfileResponse, _err error)

Summary:

Queries the logon configurations of a Resource Access Management (RAM) user.

@param request - GetLoginProfileRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetLoginProfileResponse

func (*Client) GetPasswordPolicy

func (client *Client) GetPasswordPolicy() (_result *GetPasswordPolicyResponse, _err error)

Summary:

Queries the password policy of Resource Access Management (RAM) users, including the password strength.

@return GetPasswordPolicyResponse

func (*Client) GetPasswordPolicyWithOptions

func (client *Client) GetPasswordPolicyWithOptions(runtime *util.RuntimeOptions) (_result *GetPasswordPolicyResponse, _err error)

Summary:

Queries the password policy of Resource Access Management (RAM) users, including the password strength.

@param request - GetPasswordPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetPasswordPolicyResponse

func (*Client) GetPolicy

func (client *Client) GetPolicy(request *GetPolicyRequest) (_result *GetPolicyResponse, _err error)

Summary:

Queries information about a policy.

@param request - GetPolicyRequest

@return GetPolicyResponse

func (*Client) GetPolicyVersion

func (client *Client) GetPolicyVersion(request *GetPolicyVersionRequest) (_result *GetPolicyVersionResponse, _err error)

Summary:

Queries the information about a policy version.

@param request - GetPolicyVersionRequest

@return GetPolicyVersionResponse

func (*Client) GetPolicyVersionWithOptions

func (client *Client) GetPolicyVersionWithOptions(request *GetPolicyVersionRequest, runtime *util.RuntimeOptions) (_result *GetPolicyVersionResponse, _err error)

Summary:

Queries the information about a policy version.

@param request - GetPolicyVersionRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetPolicyVersionResponse

func (*Client) GetPolicyWithOptions

func (client *Client) GetPolicyWithOptions(request *GetPolicyRequest, runtime *util.RuntimeOptions) (_result *GetPolicyResponse, _err error)

Summary:

Queries information about a policy.

@param request - GetPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetPolicyResponse

func (*Client) GetRole

func (client *Client) GetRole(request *GetRoleRequest) (_result *GetRoleResponse, _err error)

Summary:

Queries information about a Resource Access Management (RAM) role.

@param request - GetRoleRequest

@return GetRoleResponse

func (*Client) GetRoleWithOptions

func (client *Client) GetRoleWithOptions(request *GetRoleRequest, runtime *util.RuntimeOptions) (_result *GetRoleResponse, _err error)

Summary:

Queries information about a Resource Access Management (RAM) role.

@param request - GetRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetRoleResponse

func (*Client) GetSecurityPreference

func (client *Client) GetSecurityPreference() (_result *GetSecurityPreferenceResponse, _err error)

Summary:

Queries the security preferences.

@return GetSecurityPreferenceResponse

func (*Client) GetSecurityPreferenceWithOptions

func (client *Client) GetSecurityPreferenceWithOptions(runtime *util.RuntimeOptions) (_result *GetSecurityPreferenceResponse, _err error)

Summary:

Queries the security preferences.

@param request - GetSecurityPreferenceRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetSecurityPreferenceResponse

func (*Client) GetUser

func (client *Client) GetUser(request *GetUserRequest) (_result *GetUserResponse, _err error)

Summary:

Queries information about a Resource Access Management (RAM) user.

Description:

This topic provides an example on how to query information about the RAM user `alice`.

@param request - GetUserRequest

@return GetUserResponse

func (*Client) GetUserMFAInfo

func (client *Client) GetUserMFAInfo(request *GetUserMFAInfoRequest) (_result *GetUserMFAInfoResponse, _err error)

Summary:

Queries the multi-factor authentication (MFA) device that is bound to a Resource Access Management (RAM) user.

@param request - GetUserMFAInfoRequest

@return GetUserMFAInfoResponse

func (*Client) GetUserMFAInfoWithOptions

func (client *Client) GetUserMFAInfoWithOptions(request *GetUserMFAInfoRequest, runtime *util.RuntimeOptions) (_result *GetUserMFAInfoResponse, _err error)

Summary:

Queries the multi-factor authentication (MFA) device that is bound to a Resource Access Management (RAM) user.

@param request - GetUserMFAInfoRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetUserMFAInfoResponse

func (*Client) GetUserWithOptions

func (client *Client) GetUserWithOptions(request *GetUserRequest, runtime *util.RuntimeOptions) (_result *GetUserResponse, _err error)

Summary:

Queries information about a Resource Access Management (RAM) user.

Description:

This topic provides an example on how to query information about the RAM user `alice`.

@param request - GetUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetUserResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListAccessKeys

func (client *Client) ListAccessKeys(request *ListAccessKeysRequest) (_result *ListAccessKeysResponse, _err error)

Summary:

Queries all AccessKey pairs that belong to a Resource Access Management (RAM) user.

@param request - ListAccessKeysRequest

@return ListAccessKeysResponse

func (*Client) ListAccessKeysWithOptions

func (client *Client) ListAccessKeysWithOptions(request *ListAccessKeysRequest, runtime *util.RuntimeOptions) (_result *ListAccessKeysResponse, _err error)

Summary:

Queries all AccessKey pairs that belong to a Resource Access Management (RAM) user.

@param request - ListAccessKeysRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListAccessKeysResponse

func (*Client) ListEntitiesForPolicy

func (client *Client) ListEntitiesForPolicy(request *ListEntitiesForPolicyRequest) (_result *ListEntitiesForPolicyResponse, _err error)

Summary:

Queries the entities to which a policy is attached.

@param request - ListEntitiesForPolicyRequest

@return ListEntitiesForPolicyResponse

func (*Client) ListEntitiesForPolicyWithOptions

func (client *Client) ListEntitiesForPolicyWithOptions(request *ListEntitiesForPolicyRequest, runtime *util.RuntimeOptions) (_result *ListEntitiesForPolicyResponse, _err error)

Summary:

Queries the entities to which a policy is attached.

@param request - ListEntitiesForPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListEntitiesForPolicyResponse

func (*Client) ListGroups

func (client *Client) ListGroups(request *ListGroupsRequest) (_result *ListGroupsResponse, _err error)

Summary:

Queries Resource Access Management (RAM) user groups.

@param request - ListGroupsRequest

@return ListGroupsResponse

func (*Client) ListGroupsForUser

func (client *Client) ListGroupsForUser(request *ListGroupsForUserRequest) (_result *ListGroupsForUserResponse, _err error)

Summary:

Queries the Resource Access Management (RAM) user groups to which a RAM user belongs.

Description:

### [](#)

This topic provides an example on how to query the RAM user groups to which the RAM user `Alice` belongs. The response shows that `Alice` belongs to the RAM user group named `Dev-Team`.

@param request - ListGroupsForUserRequest

@return ListGroupsForUserResponse

func (*Client) ListGroupsForUserWithOptions

func (client *Client) ListGroupsForUserWithOptions(request *ListGroupsForUserRequest, runtime *util.RuntimeOptions) (_result *ListGroupsForUserResponse, _err error)

Summary:

Queries the Resource Access Management (RAM) user groups to which a RAM user belongs.

Description:

### [](#)

This topic provides an example on how to query the RAM user groups to which the RAM user `Alice` belongs. The response shows that `Alice` belongs to the RAM user group named `Dev-Team`.

@param request - ListGroupsForUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListGroupsForUserResponse

func (*Client) ListGroupsWithOptions

func (client *Client) ListGroupsWithOptions(request *ListGroupsRequest, runtime *util.RuntimeOptions) (_result *ListGroupsResponse, _err error)

Summary:

Queries Resource Access Management (RAM) user groups.

@param request - ListGroupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListGroupsResponse

func (*Client) ListPolicies

func (client *Client) ListPolicies(request *ListPoliciesRequest) (_result *ListPoliciesResponse, _err error)

Summary:

Queries a list of policies.

@param request - ListPoliciesRequest

@return ListPoliciesResponse

func (*Client) ListPoliciesForGroup

func (client *Client) ListPoliciesForGroup(request *ListPoliciesForGroupRequest) (_result *ListPoliciesForGroupResponse, _err error)

Summary:

Queries the policies that are attached to a Resource Access Management (RAM) user group.

@param request - ListPoliciesForGroupRequest

@return ListPoliciesForGroupResponse

func (*Client) ListPoliciesForGroupWithOptions

func (client *Client) ListPoliciesForGroupWithOptions(request *ListPoliciesForGroupRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesForGroupResponse, _err error)

Summary:

Queries the policies that are attached to a Resource Access Management (RAM) user group.

@param request - ListPoliciesForGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListPoliciesForGroupResponse

func (*Client) ListPoliciesForRole

func (client *Client) ListPoliciesForRole(request *ListPoliciesForRoleRequest) (_result *ListPoliciesForRoleResponse, _err error)

Summary:

Queries the policies that are attached to a Resource Access Management (RAM) role.

@param request - ListPoliciesForRoleRequest

@return ListPoliciesForRoleResponse

func (*Client) ListPoliciesForRoleWithOptions

func (client *Client) ListPoliciesForRoleWithOptions(request *ListPoliciesForRoleRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesForRoleResponse, _err error)

Summary:

Queries the policies that are attached to a Resource Access Management (RAM) role.

@param request - ListPoliciesForRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListPoliciesForRoleResponse

func (*Client) ListPoliciesForUser

func (client *Client) ListPoliciesForUser(request *ListPoliciesForUserRequest) (_result *ListPoliciesForUserResponse, _err error)

Summary:

Queries the policies that are attached to a RAM user.

Description:

> You can call this operation to query only the policies that are attached to Alibaba Cloud accounts. You cannot query the policies that are attached to resource groups.

@param request - ListPoliciesForUserRequest

@return ListPoliciesForUserResponse

func (*Client) ListPoliciesForUserWithOptions

func (client *Client) ListPoliciesForUserWithOptions(request *ListPoliciesForUserRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesForUserResponse, _err error)

Summary:

Queries the policies that are attached to a RAM user.

Description:

> You can call this operation to query only the policies that are attached to Alibaba Cloud accounts. You cannot query the policies that are attached to resource groups.

@param request - ListPoliciesForUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListPoliciesForUserResponse

func (*Client) ListPoliciesWithOptions

func (client *Client) ListPoliciesWithOptions(tmpReq *ListPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesResponse, _err error)

Summary:

Queries a list of policies.

@param tmpReq - ListPoliciesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListPoliciesResponse

func (*Client) ListPolicyVersions

func (client *Client) ListPolicyVersions(request *ListPolicyVersionsRequest) (_result *ListPolicyVersionsResponse, _err error)

Summary:

Queries the versions of a policy.

@param request - ListPolicyVersionsRequest

@return ListPolicyVersionsResponse

func (*Client) ListPolicyVersionsWithOptions

func (client *Client) ListPolicyVersionsWithOptions(request *ListPolicyVersionsRequest, runtime *util.RuntimeOptions) (_result *ListPolicyVersionsResponse, _err error)

Summary:

Queries the versions of a policy.

@param request - ListPolicyVersionsRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListPolicyVersionsResponse

func (*Client) ListRoles

func (client *Client) ListRoles(request *ListRolesRequest) (_result *ListRolesResponse, _err error)

Summary:

Queries all Resource Access Management (RAM) roles.

@param request - ListRolesRequest

@return ListRolesResponse

func (*Client) ListRolesWithOptions

func (client *Client) ListRolesWithOptions(tmpReq *ListRolesRequest, runtime *util.RuntimeOptions) (_result *ListRolesResponse, _err error)

Summary:

Queries all Resource Access Management (RAM) roles.

@param tmpReq - ListRolesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListRolesResponse

func (*Client) ListTagResources added in v2.2.0

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

Summary:

Queries the tags that are added to resources.

@param request - ListTagResourcesRequest

@return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions added in v2.2.0

func (client *Client) ListTagResourcesWithOptions(tmpReq *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

Summary:

Queries the tags that are added to resources.

@param tmpReq - ListTagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListTagResourcesResponse

func (*Client) ListUsers

func (client *Client) ListUsers(request *ListUsersRequest) (_result *ListUsersResponse, _err error)

Summary:

Queries the information about all RAM users.

@param request - ListUsersRequest

@return ListUsersResponse

func (*Client) ListUsersForGroup

func (client *Client) ListUsersForGroup(request *ListUsersForGroupRequest) (_result *ListUsersForGroupResponse, _err error)

Summary:

Queries Resource Access Management (RAM) users in a RAM user group.

@param request - ListUsersForGroupRequest

@return ListUsersForGroupResponse

func (*Client) ListUsersForGroupWithOptions

func (client *Client) ListUsersForGroupWithOptions(request *ListUsersForGroupRequest, runtime *util.RuntimeOptions) (_result *ListUsersForGroupResponse, _err error)

Summary:

Queries Resource Access Management (RAM) users in a RAM user group.

@param request - ListUsersForGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListUsersForGroupResponse

func (*Client) ListUsersWithOptions

func (client *Client) ListUsersWithOptions(request *ListUsersRequest, runtime *util.RuntimeOptions) (_result *ListUsersResponse, _err error)

Summary:

Queries the information about all RAM users.

@param request - ListUsersRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListUsersResponse

func (*Client) ListVirtualMFADevices

func (client *Client) ListVirtualMFADevices() (_result *ListVirtualMFADevicesResponse, _err error)

Summary:

Queries multi-factor authentication (MFA) devices.

@return ListVirtualMFADevicesResponse

func (*Client) ListVirtualMFADevicesWithOptions

func (client *Client) ListVirtualMFADevicesWithOptions(runtime *util.RuntimeOptions) (_result *ListVirtualMFADevicesResponse, _err error)

Summary:

Queries multi-factor authentication (MFA) devices.

@param request - ListVirtualMFADevicesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListVirtualMFADevicesResponse

func (*Client) RemoveUserFromGroup

func (client *Client) RemoveUserFromGroup(request *RemoveUserFromGroupRequest) (_result *RemoveUserFromGroupResponse, _err error)

Summary:

Removes a Resource Access Management (RAM) user from a RAM user group.

@param request - RemoveUserFromGroupRequest

@return RemoveUserFromGroupResponse

func (*Client) RemoveUserFromGroupWithOptions

func (client *Client) RemoveUserFromGroupWithOptions(request *RemoveUserFromGroupRequest, runtime *util.RuntimeOptions) (_result *RemoveUserFromGroupResponse, _err error)

Summary:

Removes a Resource Access Management (RAM) user from a RAM user group.

@param request - RemoveUserFromGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return RemoveUserFromGroupResponse

func (*Client) SetAccountAlias

func (client *Client) SetAccountAlias(request *SetAccountAliasRequest) (_result *SetAccountAliasResponse, _err error)

Summary:

Configures an alias for an Alibaba Cloud account.

@param request - SetAccountAliasRequest

@return SetAccountAliasResponse

func (*Client) SetAccountAliasWithOptions

func (client *Client) SetAccountAliasWithOptions(request *SetAccountAliasRequest, runtime *util.RuntimeOptions) (_result *SetAccountAliasResponse, _err error)

Summary:

Configures an alias for an Alibaba Cloud account.

@param request - SetAccountAliasRequest

@param runtime - runtime options for this request RuntimeOptions

@return SetAccountAliasResponse

func (*Client) SetDefaultPolicyVersion

func (client *Client) SetDefaultPolicyVersion(request *SetDefaultPolicyVersionRequest) (_result *SetDefaultPolicyVersionResponse, _err error)

Summary:

Specifies a version for a policy as the default version.

@param request - SetDefaultPolicyVersionRequest

@return SetDefaultPolicyVersionResponse

func (*Client) SetDefaultPolicyVersionWithOptions

func (client *Client) SetDefaultPolicyVersionWithOptions(request *SetDefaultPolicyVersionRequest, runtime *util.RuntimeOptions) (_result *SetDefaultPolicyVersionResponse, _err error)

Summary:

Specifies a version for a policy as the default version.

@param request - SetDefaultPolicyVersionRequest

@param runtime - runtime options for this request RuntimeOptions

@return SetDefaultPolicyVersionResponse

func (*Client) SetPasswordPolicy

func (client *Client) SetPasswordPolicy(request *SetPasswordPolicyRequest) (_result *SetPasswordPolicyResponse, _err error)

Summary:

Configures the password policy for Resource Access Management (RAM) users, including the password strength.

@param request - SetPasswordPolicyRequest

@return SetPasswordPolicyResponse

func (*Client) SetPasswordPolicyWithOptions

func (client *Client) SetPasswordPolicyWithOptions(request *SetPasswordPolicyRequest, runtime *util.RuntimeOptions) (_result *SetPasswordPolicyResponse, _err error)

Summary:

Configures the password policy for Resource Access Management (RAM) users, including the password strength.

@param request - SetPasswordPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return SetPasswordPolicyResponse

func (*Client) SetSecurityPreference

func (client *Client) SetSecurityPreference(request *SetSecurityPreferenceRequest) (_result *SetSecurityPreferenceResponse, _err error)

Summary:

Configures the security preferences.

@param request - SetSecurityPreferenceRequest

@return SetSecurityPreferenceResponse

func (*Client) SetSecurityPreferenceWithOptions

func (client *Client) SetSecurityPreferenceWithOptions(request *SetSecurityPreferenceRequest, runtime *util.RuntimeOptions) (_result *SetSecurityPreferenceResponse, _err error)

Summary:

Configures the security preferences.

@param request - SetSecurityPreferenceRequest

@param runtime - runtime options for this request RuntimeOptions

@return SetSecurityPreferenceResponse

func (*Client) TagResources added in v2.2.0

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

Summary:

Adds tags to resources.

@param request - TagResourcesRequest

@return TagResourcesResponse

func (*Client) TagResourcesWithOptions added in v2.2.0

func (client *Client) TagResourcesWithOptions(tmpReq *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

Summary:

Adds tags to resources.

@param tmpReq - TagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return TagResourcesResponse

func (*Client) UnbindMFADevice

func (client *Client) UnbindMFADevice(request *UnbindMFADeviceRequest) (_result *UnbindMFADeviceResponse, _err error)

Summary:

Unbinds a multi-factor authentication (MFA) device from a Resource Access Management (RAM) user.

@param request - UnbindMFADeviceRequest

@return UnbindMFADeviceResponse

func (*Client) UnbindMFADeviceWithOptions

func (client *Client) UnbindMFADeviceWithOptions(request *UnbindMFADeviceRequest, runtime *util.RuntimeOptions) (_result *UnbindMFADeviceResponse, _err error)

Summary:

Unbinds a multi-factor authentication (MFA) device from a Resource Access Management (RAM) user.

@param request - UnbindMFADeviceRequest

@param runtime - runtime options for this request RuntimeOptions

@return UnbindMFADeviceResponse

func (*Client) UntagResources added in v2.2.0

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

Summary:

Removes tags from resources.

@param request - UntagResourcesRequest

@return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions added in v2.2.0

func (client *Client) UntagResourcesWithOptions(tmpReq *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

Summary:

Removes tags from resources.

@param tmpReq - UntagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return UntagResourcesResponse

func (*Client) UpdateAccessKey

func (client *Client) UpdateAccessKey(request *UpdateAccessKeyRequest) (_result *UpdateAccessKeyResponse, _err error)

Summary:

Changes the status of an AccessKey pair that belongs to a Resource Access Management (RAM) user.

@param request - UpdateAccessKeyRequest

@return UpdateAccessKeyResponse

func (*Client) UpdateAccessKeyWithOptions

func (client *Client) UpdateAccessKeyWithOptions(request *UpdateAccessKeyRequest, runtime *util.RuntimeOptions) (_result *UpdateAccessKeyResponse, _err error)

Summary:

Changes the status of an AccessKey pair that belongs to a Resource Access Management (RAM) user.

@param request - UpdateAccessKeyRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateAccessKeyResponse

func (*Client) UpdateGroup

func (client *Client) UpdateGroup(request *UpdateGroupRequest) (_result *UpdateGroupResponse, _err error)

Summary:

Modifies a Resource Access Management (RAM) user group.

@param request - UpdateGroupRequest

@return UpdateGroupResponse

func (*Client) UpdateGroupWithOptions

func (client *Client) UpdateGroupWithOptions(request *UpdateGroupRequest, runtime *util.RuntimeOptions) (_result *UpdateGroupResponse, _err error)

Summary:

Modifies a Resource Access Management (RAM) user group.

@param request - UpdateGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateGroupResponse

func (*Client) UpdateLoginProfile

func (client *Client) UpdateLoginProfile(request *UpdateLoginProfileRequest) (_result *UpdateLoginProfileResponse, _err error)

Summary:

Modifies the logon configurations of a Resource Access Management (RAM) user.

@param request - UpdateLoginProfileRequest

@return UpdateLoginProfileResponse

func (*Client) UpdateLoginProfileWithOptions

func (client *Client) UpdateLoginProfileWithOptions(request *UpdateLoginProfileRequest, runtime *util.RuntimeOptions) (_result *UpdateLoginProfileResponse, _err error)

Summary:

Modifies the logon configurations of a Resource Access Management (RAM) user.

@param request - UpdateLoginProfileRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateLoginProfileResponse

func (*Client) UpdatePolicyDescription

func (client *Client) UpdatePolicyDescription(request *UpdatePolicyDescriptionRequest) (_result *UpdatePolicyDescriptionResponse, _err error)

Summary:

Modifies the description of a custom policy.

Description:

### [](#)

You can call this operation to modify only the description of a custom policy. You cannot modify the description of a system policy.

@param request - UpdatePolicyDescriptionRequest

@return UpdatePolicyDescriptionResponse

func (*Client) UpdatePolicyDescriptionWithOptions

func (client *Client) UpdatePolicyDescriptionWithOptions(request *UpdatePolicyDescriptionRequest, runtime *util.RuntimeOptions) (_result *UpdatePolicyDescriptionResponse, _err error)

Summary:

Modifies the description of a custom policy.

Description:

### [](#)

You can call this operation to modify only the description of a custom policy. You cannot modify the description of a system policy.

@param request - UpdatePolicyDescriptionRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdatePolicyDescriptionResponse

func (*Client) UpdateRole

func (client *Client) UpdateRole(request *UpdateRoleRequest) (_result *UpdateRoleResponse, _err error)

Summary:

Modifies information about a Resource Access Management (RAM) role.

Description:

This topic provides an example on how to change the description of `ECSAdmin` to `ECS administrator`.

@param request - UpdateRoleRequest

@return UpdateRoleResponse

func (*Client) UpdateRoleWithOptions

func (client *Client) UpdateRoleWithOptions(request *UpdateRoleRequest, runtime *util.RuntimeOptions) (_result *UpdateRoleResponse, _err error)

Summary:

Modifies information about a Resource Access Management (RAM) role.

Description:

This topic provides an example on how to change the description of `ECSAdmin` to `ECS administrator`.

@param request - UpdateRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateRoleResponse

func (*Client) UpdateUser

func (client *Client) UpdateUser(request *UpdateUserRequest) (_result *UpdateUserResponse, _err error)

Summary:

Modifies information about a Resource Access Management (RAM) user.

Description:

This topic provides an example on how to change the name of a RAM user from `zhangq****` to `xiaoq****`.

@param request - UpdateUserRequest

@return UpdateUserResponse

func (*Client) UpdateUserWithOptions

func (client *Client) UpdateUserWithOptions(request *UpdateUserRequest, runtime *util.RuntimeOptions) (_result *UpdateUserResponse, _err error)

Summary:

Modifies information about a Resource Access Management (RAM) user.

Description:

This topic provides an example on how to change the name of a RAM user from `zhangq****` to `xiaoq****`.

@param request - UpdateUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateUserResponse

type CreateAccessKeyRequest

type CreateAccessKeyRequest struct {
	// The name of the RAM user. If a RAM user calls this operation and does not specify this parameter, an AccessKey pair is created for the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (CreateAccessKeyRequest) GoString

func (s CreateAccessKeyRequest) GoString() string

func (*CreateAccessKeyRequest) SetUserName

func (CreateAccessKeyRequest) String

func (s CreateAccessKeyRequest) String() string

type CreateAccessKeyResponse

type CreateAccessKeyResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateAccessKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAccessKeyResponse) GoString

func (s CreateAccessKeyResponse) GoString() string

func (*CreateAccessKeyResponse) SetBody

func (*CreateAccessKeyResponse) SetHeaders

func (*CreateAccessKeyResponse) SetStatusCode

func (CreateAccessKeyResponse) String

func (s CreateAccessKeyResponse) String() string

type CreateAccessKeyResponseBody

type CreateAccessKeyResponseBody struct {
	// The information about the AccessKey pair.
	AccessKey *CreateAccessKeyResponseBodyAccessKey `json:"AccessKey,omitempty" xml:"AccessKey,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateAccessKeyResponseBody) GoString

func (s CreateAccessKeyResponseBody) GoString() string

func (*CreateAccessKeyResponseBody) SetAccessKey

func (*CreateAccessKeyResponseBody) SetRequestId

func (CreateAccessKeyResponseBody) String

type CreateAccessKeyResponseBodyAccessKey

type CreateAccessKeyResponseBodyAccessKey struct {
	// The AccessKey ID.
	//
	// example:
	//
	// 0wNEpMMlzy7s****
	AccessKeyId *string `json:"AccessKeyId,omitempty" xml:"AccessKeyId,omitempty"`
	// The AccessKey secret.
	//
	// example:
	//
	// PupkTg8jdmau1cXxYacgE736PJ****
	AccessKeySecret *string `json:"AccessKeySecret,omitempty" xml:"AccessKeySecret,omitempty"`
	// The time when the AccessKey pair was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The status of the AccessKey pair. Valid values: Active and Inactive.
	//
	// example:
	//
	// Active
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CreateAccessKeyResponseBodyAccessKey) GoString

func (*CreateAccessKeyResponseBodyAccessKey) SetAccessKeyId

func (*CreateAccessKeyResponseBodyAccessKey) SetAccessKeySecret

func (*CreateAccessKeyResponseBodyAccessKey) SetCreateDate

func (*CreateAccessKeyResponseBodyAccessKey) SetStatus

func (CreateAccessKeyResponseBodyAccessKey) String

type CreateGroupRequest

type CreateGroupRequest struct {
	// The description.
	//
	// The value can be up to 128 characters in length.
	//
	// example:
	//
	// Dev-Team
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The name of the user group.
	//
	// The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_).
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
}

func (CreateGroupRequest) GoString

func (s CreateGroupRequest) GoString() string

func (*CreateGroupRequest) SetComments

func (s *CreateGroupRequest) SetComments(v string) *CreateGroupRequest

func (*CreateGroupRequest) SetGroupName

func (s *CreateGroupRequest) SetGroupName(v string) *CreateGroupRequest

func (CreateGroupRequest) String

func (s CreateGroupRequest) String() string

type CreateGroupResponse

type CreateGroupResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateGroupResponse) GoString

func (s CreateGroupResponse) GoString() string

func (*CreateGroupResponse) SetBody

func (*CreateGroupResponse) SetHeaders

func (s *CreateGroupResponse) SetHeaders(v map[string]*string) *CreateGroupResponse

func (*CreateGroupResponse) SetStatusCode

func (s *CreateGroupResponse) SetStatusCode(v int32) *CreateGroupResponse

func (CreateGroupResponse) String

func (s CreateGroupResponse) String() string

type CreateGroupResponseBody

type CreateGroupResponseBody struct {
	// The information about the group.
	Group *CreateGroupResponseBodyGroup `json:"Group,omitempty" xml:"Group,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// D3F0679E-9757-95DB-AF2D-04D5188C69C5
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateGroupResponseBody) GoString

func (s CreateGroupResponseBody) GoString() string

func (*CreateGroupResponseBody) SetGroup

func (*CreateGroupResponseBody) SetRequestId

func (CreateGroupResponseBody) String

func (s CreateGroupResponseBody) String() string

type CreateGroupResponseBodyGroup

type CreateGroupResponseBodyGroup struct {
	// The description.
	//
	// example:
	//
	// Dev-Team
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The creation time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ID of the user group.
	//
	// example:
	//
	// g-FpMEHiMysofp****
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
}

func (CreateGroupResponseBodyGroup) GoString

func (s CreateGroupResponseBodyGroup) GoString() string

func (*CreateGroupResponseBodyGroup) SetComments

func (*CreateGroupResponseBodyGroup) SetCreateDate

func (*CreateGroupResponseBodyGroup) SetGroupId

func (*CreateGroupResponseBodyGroup) SetGroupName

func (CreateGroupResponseBodyGroup) String

type CreateLoginProfileRequest

type CreateLoginProfileRequest struct {
	// Specifies whether the RAM user must bind a multi-factor authentication (MFA) device upon the next logon. Default value: `false`.
	//
	// example:
	//
	// false
	MFABindRequired *bool `json:"MFABindRequired,omitempty" xml:"MFABindRequired,omitempty"`
	// The logon password of the RAM user. The password must meet the password strength requirements. For more information, see [GetPasswordPolicy](https://help.aliyun.com/document_detail/2337691.html).
	//
	// example:
	//
	// mypassword
	Password *string `json:"Password,omitempty" xml:"Password,omitempty"`
	// Specifies whether the RAM user has to change the password upon logon. Default value: `false`.
	//
	// example:
	//
	// false
	PasswordResetRequired *bool `json:"PasswordResetRequired,omitempty" xml:"PasswordResetRequired,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (CreateLoginProfileRequest) GoString

func (s CreateLoginProfileRequest) GoString() string

func (*CreateLoginProfileRequest) SetMFABindRequired

func (s *CreateLoginProfileRequest) SetMFABindRequired(v bool) *CreateLoginProfileRequest

func (*CreateLoginProfileRequest) SetPassword

func (*CreateLoginProfileRequest) SetPasswordResetRequired

func (s *CreateLoginProfileRequest) SetPasswordResetRequired(v bool) *CreateLoginProfileRequest

func (*CreateLoginProfileRequest) SetUserName

func (CreateLoginProfileRequest) String

func (s CreateLoginProfileRequest) String() string

type CreateLoginProfileResponse

type CreateLoginProfileResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateLoginProfileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateLoginProfileResponse) GoString

func (s CreateLoginProfileResponse) GoString() string

func (*CreateLoginProfileResponse) SetBody

func (*CreateLoginProfileResponse) SetHeaders

func (*CreateLoginProfileResponse) SetStatusCode

func (CreateLoginProfileResponse) String

type CreateLoginProfileResponseBody

type CreateLoginProfileResponseBody struct {
	// The logon configurations of the RAM user.
	LoginProfile *CreateLoginProfileResponseBodyLoginProfile `json:"LoginProfile,omitempty" xml:"LoginProfile,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateLoginProfileResponseBody) GoString

func (*CreateLoginProfileResponseBody) SetRequestId

func (CreateLoginProfileResponseBody) String

type CreateLoginProfileResponseBodyLoginProfile

type CreateLoginProfileResponseBodyLoginProfile struct {
	// The creation time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether an MFA device must be bound to the RAM user.
	//
	// example:
	//
	// false
	MFABindRequired *bool `json:"MFABindRequired,omitempty" xml:"MFABindRequired,omitempty"`
	// Indicates whether the RAM user must change the password upon logon.
	//
	// example:
	//
	// false
	PasswordResetRequired *bool `json:"PasswordResetRequired,omitempty" xml:"PasswordResetRequired,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (CreateLoginProfileResponseBodyLoginProfile) GoString

func (*CreateLoginProfileResponseBodyLoginProfile) SetCreateDate

func (*CreateLoginProfileResponseBodyLoginProfile) SetMFABindRequired

func (*CreateLoginProfileResponseBodyLoginProfile) SetPasswordResetRequired

func (*CreateLoginProfileResponseBodyLoginProfile) SetUserName

func (CreateLoginProfileResponseBodyLoginProfile) String

type CreatePolicyRequest

type CreatePolicyRequest struct {
	// The description of the policy.
	//
	// The description must be 1 to 1,024 characters in length.
	//
	// example:
	//
	// Query ECS instances in a specific region
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The document of the policy.
	//
	// The document must be 1 to 6,144 characters in length.
	//
	// For more information about policy elements and sample policies, see [Policy elements](https://help.aliyun.com/document_detail/93738.html) and [Overview of sample policies](https://help.aliyun.com/document_detail/210969.html).
	//
	// example:
	//
	// {"Statement": [{"Effect": "Allow","Action": "ecs:Describe*","Resource": "acs:ecs:cn-qingdao:*:instance/*"}],"Version": "1"}
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	//
	// example:
	//
	// View-ECS-instances-in-a-specific-region
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The tags.
	Tag []*CreatePolicyRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreatePolicyRequest) GoString

func (s CreatePolicyRequest) GoString() string

func (*CreatePolicyRequest) SetDescription

func (s *CreatePolicyRequest) SetDescription(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetPolicyDocument

func (s *CreatePolicyRequest) SetPolicyDocument(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetPolicyName

func (s *CreatePolicyRequest) SetPolicyName(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetTag added in v2.2.0

func (CreatePolicyRequest) String

func (s CreatePolicyRequest) String() string

type CreatePolicyRequestTag added in v2.2.0

type CreatePolicyRequestTag struct {
	// The key of the tag.
	//
	// example:
	//
	// owner
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// alice
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreatePolicyRequestTag) GoString added in v2.2.0

func (s CreatePolicyRequestTag) GoString() string

func (*CreatePolicyRequestTag) SetKey added in v2.2.0

func (*CreatePolicyRequestTag) SetValue added in v2.2.0

func (CreatePolicyRequestTag) String added in v2.2.0

func (s CreatePolicyRequestTag) String() string

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreatePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreatePolicyResponse) GoString

func (s CreatePolicyResponse) GoString() string

func (*CreatePolicyResponse) SetBody

func (*CreatePolicyResponse) SetHeaders

func (s *CreatePolicyResponse) SetHeaders(v map[string]*string) *CreatePolicyResponse

func (*CreatePolicyResponse) SetStatusCode

func (s *CreatePolicyResponse) SetStatusCode(v int32) *CreatePolicyResponse

func (CreatePolicyResponse) String

func (s CreatePolicyResponse) String() string

type CreatePolicyResponseBody

type CreatePolicyResponseBody struct {
	// The information about the policy.
	Policy *CreatePolicyResponseBodyPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// BA34C54A-C2B1-5A65-B6B0-B5842C1DB4DA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePolicyResponseBody) GoString

func (s CreatePolicyResponseBody) GoString() string

func (*CreatePolicyResponseBody) SetPolicy

func (*CreatePolicyResponseBody) SetRequestId

func (CreatePolicyResponseBody) String

func (s CreatePolicyResponseBody) String() string

type CreatePolicyResponseBodyPolicy

type CreatePolicyResponseBodyPolicy struct {
	// The time when the policy was created.
	//
	// example:
	//
	// 2021-10-13T02:46:57Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The version of the policy. Default value: v1.
	//
	// example:
	//
	// v1
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	//
	// example:
	//
	// Query ECS instances in a specific region
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// View-ECS-instances-in-a-specific-region
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// 	- Custom
	//
	// 	- System
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (CreatePolicyResponseBodyPolicy) GoString

func (*CreatePolicyResponseBodyPolicy) SetCreateDate

func (*CreatePolicyResponseBodyPolicy) SetDefaultVersion

func (*CreatePolicyResponseBodyPolicy) SetDescription

func (*CreatePolicyResponseBodyPolicy) SetPolicyName

func (*CreatePolicyResponseBodyPolicy) SetPolicyType

func (CreatePolicyResponseBodyPolicy) String

type CreatePolicyShrinkRequest added in v2.2.0

type CreatePolicyShrinkRequest struct {
	// The description of the policy.
	//
	// The description must be 1 to 1,024 characters in length.
	//
	// example:
	//
	// Query ECS instances in a specific region
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The document of the policy.
	//
	// The document must be 1 to 6,144 characters in length.
	//
	// For more information about policy elements and sample policies, see [Policy elements](https://help.aliyun.com/document_detail/93738.html) and [Overview of sample policies](https://help.aliyun.com/document_detail/210969.html).
	//
	// example:
	//
	// {"Statement": [{"Effect": "Allow","Action": "ecs:Describe*","Resource": "acs:ecs:cn-qingdao:*:instance/*"}],"Version": "1"}
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	//
	// example:
	//
	// View-ECS-instances-in-a-specific-region
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The tags.
	TagShrink *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (CreatePolicyShrinkRequest) GoString added in v2.2.0

func (s CreatePolicyShrinkRequest) GoString() string

func (*CreatePolicyShrinkRequest) SetDescription added in v2.2.0

func (*CreatePolicyShrinkRequest) SetPolicyDocument added in v2.2.0

func (*CreatePolicyShrinkRequest) SetPolicyName added in v2.2.0

func (*CreatePolicyShrinkRequest) SetTagShrink added in v2.2.0

func (CreatePolicyShrinkRequest) String added in v2.2.0

func (s CreatePolicyShrinkRequest) String() string

type CreatePolicyVersionRequest

type CreatePolicyVersionRequest struct {
	// The document of the policy. The document can be up to 6,144 bytes in length.
	//
	// example:
	//
	// {"Statement":[{"Action":["oss:*"],"Effect":"Allow","Resource":["acs:oss:*:*:*"]}],"Version":"1"}
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The rotation strategy of the policy. The rotation strategy can be used to delete an early policy version.
	//
	// Valid values:
	//
	// 	- `None`: disables the rotation strategy.
	//
	// 	- `DeleteOldestNonDefaultVersionWhenLimitExceeded`: deletes the earliest non-active version if the number of versions exceeds the limit.
	//
	// Default value: `None`.
	//
	// example:
	//
	// None
	RotateStrategy *string `json:"RotateStrategy,omitempty" xml:"RotateStrategy,omitempty"`
	// Specifies whether to set this policy as the default policy. Default value: `false`.
	//
	// example:
	//
	// false
	SetAsDefault *bool `json:"SetAsDefault,omitempty" xml:"SetAsDefault,omitempty"`
}

func (CreatePolicyVersionRequest) GoString

func (s CreatePolicyVersionRequest) GoString() string

func (*CreatePolicyVersionRequest) SetPolicyDocument

func (*CreatePolicyVersionRequest) SetPolicyName

func (*CreatePolicyVersionRequest) SetRotateStrategy

func (*CreatePolicyVersionRequest) SetSetAsDefault

func (CreatePolicyVersionRequest) String

type CreatePolicyVersionResponse

type CreatePolicyVersionResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreatePolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreatePolicyVersionResponse) GoString

func (s CreatePolicyVersionResponse) GoString() string

func (*CreatePolicyVersionResponse) SetBody

func (*CreatePolicyVersionResponse) SetHeaders

func (*CreatePolicyVersionResponse) SetStatusCode

func (CreatePolicyVersionResponse) String

type CreatePolicyVersionResponseBody

type CreatePolicyVersionResponseBody struct {
	// The information about the policy version.
	PolicyVersion *CreatePolicyVersionResponseBodyPolicyVersion `json:"PolicyVersion,omitempty" xml:"PolicyVersion,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 9B34724D-54B0-4A51-B34D-4512372FE1BE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePolicyVersionResponseBody) GoString

func (*CreatePolicyVersionResponseBody) SetRequestId

func (CreatePolicyVersionResponseBody) String

type CreatePolicyVersionResponseBodyPolicyVersion

type CreatePolicyVersionResponseBodyPolicyVersion struct {
	// The time when the policy version was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether the policy version is the default version.
	//
	// example:
	//
	// false
	IsDefaultVersion *bool `json:"IsDefaultVersion,omitempty" xml:"IsDefaultVersion,omitempty"`
	// The document of the policy.
	//
	// example:
	//
	// { "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The ID of the policy version.
	//
	// example:
	//
	// v3
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (CreatePolicyVersionResponseBodyPolicyVersion) GoString

func (*CreatePolicyVersionResponseBodyPolicyVersion) SetCreateDate

func (*CreatePolicyVersionResponseBodyPolicyVersion) SetIsDefaultVersion

func (*CreatePolicyVersionResponseBodyPolicyVersion) SetPolicyDocument

func (*CreatePolicyVersionResponseBodyPolicyVersion) SetVersionId

func (CreatePolicyVersionResponseBodyPolicyVersion) String

type CreateRoleRequest

type CreateRoleRequest struct {
	// The trust policy that specifies one or more trusted entities to assume the RAM role. The trusted entities can be Alibaba Cloud accounts, Alibaba Cloud services, or identity providers (IdPs).
	//
	// >  RAM users cannot assume the RAM roles of trusted Alibaba Cloud services.
	//
	// example:
	//
	// {"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"RAM":"acs:ram::123456789012****:root"}}],"Version":"1"}
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The description of the RAM role.
	//
	// The description must be 1 to 1,024 characters in length.
	//
	// example:
	//
	// ECS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session time of the RAM role.
	//
	// Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.
	//
	// If you do not specify this parameter, the default value is used.
	//
	// example:
	//
	// 3600
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The tags.
	Tag []*CreateRoleRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateRoleRequest) GoString

func (s CreateRoleRequest) GoString() string

func (*CreateRoleRequest) SetAssumeRolePolicyDocument

func (s *CreateRoleRequest) SetAssumeRolePolicyDocument(v string) *CreateRoleRequest

func (*CreateRoleRequest) SetDescription

func (s *CreateRoleRequest) SetDescription(v string) *CreateRoleRequest

func (*CreateRoleRequest) SetMaxSessionDuration

func (s *CreateRoleRequest) SetMaxSessionDuration(v int64) *CreateRoleRequest

func (*CreateRoleRequest) SetRoleName

func (s *CreateRoleRequest) SetRoleName(v string) *CreateRoleRequest

func (*CreateRoleRequest) SetTag added in v2.2.0

func (CreateRoleRequest) String

func (s CreateRoleRequest) String() string

type CreateRoleRequestTag added in v2.2.0

type CreateRoleRequestTag struct {
	// The key of the tag.
	//
	// example:
	//
	// k1
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// v1
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateRoleRequestTag) GoString added in v2.2.0

func (s CreateRoleRequestTag) GoString() string

func (*CreateRoleRequestTag) SetKey added in v2.2.0

func (*CreateRoleRequestTag) SetValue added in v2.2.0

func (CreateRoleRequestTag) String added in v2.2.0

func (s CreateRoleRequestTag) String() string

type CreateRoleResponse

type CreateRoleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateRoleResponse) GoString

func (s CreateRoleResponse) GoString() string

func (*CreateRoleResponse) SetBody

func (*CreateRoleResponse) SetHeaders

func (s *CreateRoleResponse) SetHeaders(v map[string]*string) *CreateRoleResponse

func (*CreateRoleResponse) SetStatusCode

func (s *CreateRoleResponse) SetStatusCode(v int32) *CreateRoleResponse

func (CreateRoleResponse) String

func (s CreateRoleResponse) String() string

type CreateRoleResponseBody

type CreateRoleResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM role.
	Role *CreateRoleResponseBodyRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Struct"`
}

func (CreateRoleResponseBody) GoString

func (s CreateRoleResponseBody) GoString() string

func (*CreateRoleResponseBody) SetRequestId

func (*CreateRoleResponseBody) SetRole

func (CreateRoleResponseBody) String

func (s CreateRoleResponseBody) String() string

type CreateRoleResponseBodyRole

type CreateRoleResponseBodyRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	//
	// example:
	//
	// acs:ram::123456789012****:role/ECSAdmin
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The trust policy that specifies the trusted entity to assume the RAM role.
	//
	// example:
	//
	// { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::123456789012****:root" } } ], "Version": "1" }
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The time when the RAM role was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	//
	// example:
	//
	// ECS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session time of the RAM role.
	//
	// example:
	//
	// 3600
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	//
	// example:
	//
	// 901234567890****
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (CreateRoleResponseBodyRole) GoString

func (s CreateRoleResponseBodyRole) GoString() string

func (*CreateRoleResponseBodyRole) SetArn

func (*CreateRoleResponseBodyRole) SetAssumeRolePolicyDocument

func (s *CreateRoleResponseBodyRole) SetAssumeRolePolicyDocument(v string) *CreateRoleResponseBodyRole

func (*CreateRoleResponseBodyRole) SetCreateDate

func (*CreateRoleResponseBodyRole) SetDescription

func (*CreateRoleResponseBodyRole) SetMaxSessionDuration

func (s *CreateRoleResponseBodyRole) SetMaxSessionDuration(v int64) *CreateRoleResponseBodyRole

func (*CreateRoleResponseBodyRole) SetRoleId

func (*CreateRoleResponseBodyRole) SetRoleName

func (CreateRoleResponseBodyRole) String

type CreateRoleShrinkRequest added in v2.2.0

type CreateRoleShrinkRequest struct {
	// The trust policy that specifies one or more trusted entities to assume the RAM role. The trusted entities can be Alibaba Cloud accounts, Alibaba Cloud services, or identity providers (IdPs).
	//
	// >  RAM users cannot assume the RAM roles of trusted Alibaba Cloud services.
	//
	// example:
	//
	// {"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"RAM":"acs:ram::123456789012****:root"}}],"Version":"1"}
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The description of the RAM role.
	//
	// The description must be 1 to 1,024 characters in length.
	//
	// example:
	//
	// ECS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session time of the RAM role.
	//
	// Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.
	//
	// If you do not specify this parameter, the default value is used.
	//
	// example:
	//
	// 3600
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The tags.
	TagShrink *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (CreateRoleShrinkRequest) GoString added in v2.2.0

func (s CreateRoleShrinkRequest) GoString() string

func (*CreateRoleShrinkRequest) SetAssumeRolePolicyDocument added in v2.2.0

func (s *CreateRoleShrinkRequest) SetAssumeRolePolicyDocument(v string) *CreateRoleShrinkRequest

func (*CreateRoleShrinkRequest) SetDescription added in v2.2.0

func (*CreateRoleShrinkRequest) SetMaxSessionDuration added in v2.2.0

func (s *CreateRoleShrinkRequest) SetMaxSessionDuration(v int64) *CreateRoleShrinkRequest

func (*CreateRoleShrinkRequest) SetRoleName added in v2.2.0

func (*CreateRoleShrinkRequest) SetTagShrink added in v2.2.0

func (CreateRoleShrinkRequest) String added in v2.2.0

func (s CreateRoleShrinkRequest) String() string

type CreateUserRequest

type CreateUserRequest struct {
	// The description of the RAM user.
	//
	// The description must be 1 to 128 characters in length.
	//
	// example:
	//
	// This is a cloud computing engineer.
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The display name of the RAM user.
	//
	// The name must be 1 to 128 characters in length.
	//
	// example:
	//
	// alice
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The email address of the RAM user.
	//
	// >  This parameter applies only to the China site (aliyun.com).
	//
	// example:
	//
	// alice@example.com
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// The mobile phone number of the RAM user.
	//
	// Format: \\<Country code>-\\<Mobile phone number>.
	//
	// >  This parameter applies only to the China site (aliyun.com).
	//
	// example:
	//
	// 86-1868888****
	MobilePhone *string `json:"MobilePhone,omitempty" xml:"MobilePhone,omitempty"`
	// The name of the RAM user.
	//
	// The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (_).
	//
	// example:
	//
	// alice
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (CreateUserRequest) GoString

func (s CreateUserRequest) GoString() string

func (*CreateUserRequest) SetComments

func (s *CreateUserRequest) SetComments(v string) *CreateUserRequest

func (*CreateUserRequest) SetDisplayName

func (s *CreateUserRequest) SetDisplayName(v string) *CreateUserRequest

func (*CreateUserRequest) SetEmail

func (s *CreateUserRequest) SetEmail(v string) *CreateUserRequest

func (*CreateUserRequest) SetMobilePhone

func (s *CreateUserRequest) SetMobilePhone(v string) *CreateUserRequest

func (*CreateUserRequest) SetUserName

func (s *CreateUserRequest) SetUserName(v string) *CreateUserRequest

func (CreateUserRequest) String

func (s CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateUserResponse) GoString

func (s CreateUserResponse) GoString() string

func (*CreateUserResponse) SetBody

func (*CreateUserResponse) SetHeaders

func (s *CreateUserResponse) SetHeaders(v map[string]*string) *CreateUserResponse

func (*CreateUserResponse) SetStatusCode

func (s *CreateUserResponse) SetStatusCode(v int32) *CreateUserResponse

func (CreateUserResponse) String

func (s CreateUserResponse) String() string

type CreateUserResponseBody

type CreateUserResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM user.
	User *CreateUserResponseBodyUser `json:"User,omitempty" xml:"User,omitempty" type:"Struct"`
}

func (CreateUserResponseBody) GoString

func (s CreateUserResponseBody) GoString() string

func (*CreateUserResponseBody) SetRequestId

func (*CreateUserResponseBody) SetUser

func (CreateUserResponseBody) String

func (s CreateUserResponseBody) String() string

type CreateUserResponseBodyUser

type CreateUserResponseBodyUser struct {
	// The description of the RAM user.
	//
	// example:
	//
	// This is a cloud computing engineer.
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The point in time when the RAM user was created. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the RAM user.
	//
	// example:
	//
	// alice
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The email address of the RAM user.
	//
	// >  This parameter applies only to the China site (aliyun.com).
	//
	// example:
	//
	// alice@example.com
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// The mobile phone number of the RAM user.
	//
	// >  This parameter applies only to the China site (aliyun.com).
	//
	// example:
	//
	// 86-1868888****
	MobilePhone *string `json:"MobilePhone,omitempty" xml:"MobilePhone,omitempty"`
	// The ID of the RAM user.
	//
	// example:
	//
	// 122748924538****
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// alice
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (CreateUserResponseBodyUser) GoString

func (s CreateUserResponseBodyUser) GoString() string

func (*CreateUserResponseBodyUser) SetComments

func (*CreateUserResponseBodyUser) SetCreateDate

func (*CreateUserResponseBodyUser) SetDisplayName

func (*CreateUserResponseBodyUser) SetEmail

func (*CreateUserResponseBodyUser) SetMobilePhone

func (*CreateUserResponseBodyUser) SetUserId

func (*CreateUserResponseBodyUser) SetUserName

func (CreateUserResponseBodyUser) String

type CreateVirtualMFADeviceRequest

type CreateVirtualMFADeviceRequest struct {
	// The name of the MFA device.
	//
	// The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).
	//
	// example:
	//
	// device001
	VirtualMFADeviceName *string `json:"VirtualMFADeviceName,omitempty" xml:"VirtualMFADeviceName,omitempty"`
}

func (CreateVirtualMFADeviceRequest) GoString

func (*CreateVirtualMFADeviceRequest) SetVirtualMFADeviceName

func (CreateVirtualMFADeviceRequest) String

type CreateVirtualMFADeviceResponse

type CreateVirtualMFADeviceResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateVirtualMFADeviceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateVirtualMFADeviceResponse) GoString

func (*CreateVirtualMFADeviceResponse) SetHeaders

func (*CreateVirtualMFADeviceResponse) SetStatusCode

func (CreateVirtualMFADeviceResponse) String

type CreateVirtualMFADeviceResponseBody

type CreateVirtualMFADeviceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the MFA device.
	VirtualMFADevice *CreateVirtualMFADeviceResponseBodyVirtualMFADevice `json:"VirtualMFADevice,omitempty" xml:"VirtualMFADevice,omitempty" type:"Struct"`
}

func (CreateVirtualMFADeviceResponseBody) GoString

func (*CreateVirtualMFADeviceResponseBody) SetRequestId

func (CreateVirtualMFADeviceResponseBody) String

type CreateVirtualMFADeviceResponseBodyVirtualMFADevice

type CreateVirtualMFADeviceResponseBodyVirtualMFADevice struct {
	// The key of the MFA device.
	//
	// example:
	//
	// DSF98HAD982KJA9SDFNAS9D8FU839B8ADHBGS****
	Base32StringSeed *string `json:"Base32StringSeed,omitempty" xml:"Base32StringSeed,omitempty"`
	// The Base64-encoded QR code, in the PNG format.
	//
	// example:
	//
	// YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEz****
	QRCodePNG *string `json:"QRCodePNG,omitempty" xml:"QRCodePNG,omitempty"`
	// The serial number of the MFA device.
	//
	// example:
	//
	// acs:ram::123456789012****:mfa/device001
	SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"`
}

func (CreateVirtualMFADeviceResponseBodyVirtualMFADevice) GoString

func (*CreateVirtualMFADeviceResponseBodyVirtualMFADevice) SetBase32StringSeed

func (*CreateVirtualMFADeviceResponseBodyVirtualMFADevice) SetQRCodePNG

func (*CreateVirtualMFADeviceResponseBodyVirtualMFADevice) SetSerialNumber

func (CreateVirtualMFADeviceResponseBodyVirtualMFADevice) String

type DecodeDiagnosticMessageRequest added in v2.1.0

type DecodeDiagnosticMessageRequest struct {
	// The encoded diagnostic information in the response that contains an access denied error. The error is caused by no RAM permissions.
	//
	// example:
	//
	// AQEAAAAAZBgxr0U1MjA1NTM1LUM4BBktMzE5RS1CODgxLUU1QTI0RDNFQTM1****
	EncodedDiagnosticMessage *string `json:"EncodedDiagnosticMessage,omitempty" xml:"EncodedDiagnosticMessage,omitempty"`
}

func (DecodeDiagnosticMessageRequest) GoString added in v2.1.0

func (*DecodeDiagnosticMessageRequest) SetEncodedDiagnosticMessage added in v2.1.0

func (s *DecodeDiagnosticMessageRequest) SetEncodedDiagnosticMessage(v string) *DecodeDiagnosticMessageRequest

func (DecodeDiagnosticMessageRequest) String added in v2.1.0

type DecodeDiagnosticMessageResponse added in v2.1.0

type DecodeDiagnosticMessageResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DecodeDiagnosticMessageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DecodeDiagnosticMessageResponse) GoString added in v2.1.0

func (*DecodeDiagnosticMessageResponse) SetBody added in v2.1.0

func (*DecodeDiagnosticMessageResponse) SetHeaders added in v2.1.0

func (*DecodeDiagnosticMessageResponse) SetStatusCode added in v2.1.0

func (DecodeDiagnosticMessageResponse) String added in v2.1.0

type DecodeDiagnosticMessageResponseBody added in v2.1.0

type DecodeDiagnosticMessageResponseBody struct {
	// The decoded diagnostic information.
	DecodedDiagnosticMessage *DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage `json:"DecodedDiagnosticMessage,omitempty" xml:"DecodedDiagnosticMessage,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// D2331703-AADF-5564-BA9B-26CD51A33BA0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DecodeDiagnosticMessageResponseBody) GoString added in v2.1.0

func (*DecodeDiagnosticMessageResponseBody) SetDecodedDiagnosticMessage added in v2.1.0

func (*DecodeDiagnosticMessageResponseBody) SetRequestId added in v2.1.0

func (DecodeDiagnosticMessageResponseBody) String added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage struct {
	// The operation that is used for authentication in the request.
	//
	// example:
	//
	// ram:DecodeDiagnosticMessage
	AuthAction *string `json:"AuthAction,omitempty" xml:"AuthAction,omitempty"`
	// The conditions that are used for authentication in the request.
	AuthConditions []*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthConditions `json:"AuthConditions,omitempty" xml:"AuthConditions,omitempty" type:"Repeated"`
	// The operator that is used for authentication in the request.
	AuthPrincipal *DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal `json:"AuthPrincipal,omitempty" xml:"AuthPrincipal,omitempty" type:"Struct"`
	// The resource that is used for authentication in the request.
	//
	// example:
	//
	// *
	AuthResource *string `json:"AuthResource,omitempty" xml:"AuthResource,omitempty"`
	// Indicates whether the access denied error is caused by an explicit deny.
	//
	// Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	ExplicitDeny *bool `json:"ExplicitDeny,omitempty" xml:"ExplicitDeny,omitempty"`
	// The policies that are matched.
	MatchedPolicies []*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies `json:"MatchedPolicies,omitempty" xml:"MatchedPolicies,omitempty" type:"Repeated"`
	// The type of the policy that causes the access denied error.
	//
	// Valid values:
	//
	// 	- AssumeRolePolicy: role-specific trust policy
	//
	// 	- ControlPolicy: control policy
	//
	// 	- AccountLevelIdentityBasedPolicy: identity-based policy at the account level
	//
	// 	- ResourceGroupLevelIdentityBasedPolicy: identity-based policy at the resource group level
	//
	// 	- SessionPolicy: session policy
	//
	// example:
	//
	// AccountLevelIdentityBasedPolicy
	NoPermissionPolicyType *string `json:"NoPermissionPolicyType,omitempty" xml:"NoPermissionPolicyType,omitempty"`
}

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage) GoString added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage) SetAuthAction added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage) SetAuthResource added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage) SetExplicitDeny added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage) SetNoPermissionPolicyType added in v2.1.0

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessage) String added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthConditions added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthConditions struct {
	// The key of the condition.
	//
	// example:
	//
	// acs:SourceIp
	ConditionKey *string `json:"ConditionKey,omitempty" xml:"ConditionKey,omitempty"`
	// The values that correspond to the key.
	ConditionValues []*string `json:"ConditionValues,omitempty" xml:"ConditionValues,omitempty" type:"Repeated"`
}

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthConditions) GoString added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthConditions) SetConditionKey added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthConditions) SetConditionValues added in v2.1.0

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthConditions) String added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal struct {
	// The identity.
	//
	// 	- If the operator is a RAM user, the ID of the user is displayed.
	//
	// 	- If the operator is a RAM role, the name and session name of the role are displayed. Example: RoleName:RoleSessionName.
	//
	// 	- If the operator is an SSO federated identity, the type and name of the identity provider (IdP) are displayed. Example: saml-provider/AzureAD.
	//
	// example:
	//
	// 28877424437521****
	AuthPrincipalDisplayName *string `json:"AuthPrincipalDisplayName,omitempty" xml:"AuthPrincipalDisplayName,omitempty"`
	// The ID of the Alibaba Cloud account to which the identity belongs.
	//
	// example:
	//
	// 196813200012****
	AuthPrincipalOwnerId *string `json:"AuthPrincipalOwnerId,omitempty" xml:"AuthPrincipalOwnerId,omitempty"`
	// The identity type that is used for authentication in the request.
	//
	// Valid values:
	//
	// 	- SubUser: RAM user
	//
	// 	- AssumedRoleUser: RAM role
	//
	// 	- Federated: SSO federated identity
	//
	// example:
	//
	// SubUser
	AuthPrincipalType *string `json:"AuthPrincipalType,omitempty" xml:"AuthPrincipalType,omitempty"`
}

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal) GoString added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal) SetAuthPrincipalDisplayName added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal) SetAuthPrincipalOwnerId added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal) SetAuthPrincipalType added in v2.1.0

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageAuthPrincipal) String added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies added in v2.1.0

type DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies struct {
	// The type of the entity to which the policy is attached.
	//
	// Valid values:
	//
	// 	- RamUser: RAM user
	//
	// 	- RamRole: RAM role
	//
	// 	- ResourceDirectoryTarget: entity in a resource directory
	//
	// 	- RamGroup: RAM user group
	//
	// example:
	//
	// RamUser
	AttachedEntityType *string `json:"AttachedEntityType,omitempty" xml:"AttachedEntityType,omitempty"`
	// The authorization scope of the policy.
	//
	// Valid values:
	//
	// 	- Account: Alibaba Cloud account
	//
	// 	- Folder: folder in the resource directory
	//
	// 	- ResourceGroup: resource group
	//
	// example:
	//
	// Account
	AttachedScope *string `json:"AttachedScope,omitempty" xml:"AttachedScope,omitempty"`
	// The effect of the policy.
	//
	// Valid values:
	//
	// 	- Deny
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Allow
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Deny
	Effect *string `json:"Effect,omitempty" xml:"Effect,omitempty"`
	// The identifier of the policy.
	//
	// 	- Control policy: the ID of the control policy
	//
	// 	- RAM policy: the name of the policy
	//
	// example:
	//
	// MyPolicyName
	PolicyIdentifier *string `json:"PolicyIdentifier,omitempty" xml:"PolicyIdentifier,omitempty"`
	// The type of the policy.
	//
	// Valid values:
	//
	// 	- Custom: custom policy
	//
	// 	- System: system policy
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The version number of the policy.
	//
	// > Only custom policies have version numbers.
	//
	// example:
	//
	// v1
	PolicyVersion *string `json:"PolicyVersion,omitempty" xml:"PolicyVersion,omitempty"`
}

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) GoString added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) SetAttachedEntityType added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) SetAttachedScope added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) SetEffect added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) SetPolicyIdentifier added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) SetPolicyType added in v2.1.0

func (*DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) SetPolicyVersion added in v2.1.0

func (DecodeDiagnosticMessageResponseBodyDecodedDiagnosticMessageMatchedPolicies) String added in v2.1.0

type DeleteAccessKeyRequest

type DeleteAccessKeyRequest struct {
	// The AccessKey ID in the AccessKey pair that you want to delete.“
	//
	// example:
	//
	// 0wNEpMMlzy7s****
	UserAccessKeyId *string `json:"UserAccessKeyId,omitempty" xml:"UserAccessKeyId,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (DeleteAccessKeyRequest) GoString

func (s DeleteAccessKeyRequest) GoString() string

func (*DeleteAccessKeyRequest) SetUserAccessKeyId

func (s *DeleteAccessKeyRequest) SetUserAccessKeyId(v string) *DeleteAccessKeyRequest

func (*DeleteAccessKeyRequest) SetUserName

func (DeleteAccessKeyRequest) String

func (s DeleteAccessKeyRequest) String() string

type DeleteAccessKeyResponse

type DeleteAccessKeyResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteAccessKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteAccessKeyResponse) GoString

func (s DeleteAccessKeyResponse) GoString() string

func (*DeleteAccessKeyResponse) SetBody

func (*DeleteAccessKeyResponse) SetHeaders

func (*DeleteAccessKeyResponse) SetStatusCode

func (DeleteAccessKeyResponse) String

func (s DeleteAccessKeyResponse) String() string

type DeleteAccessKeyResponseBody

type DeleteAccessKeyResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteAccessKeyResponseBody) GoString

func (s DeleteAccessKeyResponseBody) GoString() string

func (*DeleteAccessKeyResponseBody) SetRequestId

func (DeleteAccessKeyResponseBody) String

type DeleteGroupRequest

type DeleteGroupRequest struct {
	// The name of the RAM user group.
	//
	// If you want to query the name of a RAM user group, you can call the [ListGroups](https://help.aliyun.com/document_detail/28703.html) operation.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
}

func (DeleteGroupRequest) GoString

func (s DeleteGroupRequest) GoString() string

func (*DeleteGroupRequest) SetGroupName

func (s *DeleteGroupRequest) SetGroupName(v string) *DeleteGroupRequest

func (DeleteGroupRequest) String

func (s DeleteGroupRequest) String() string

type DeleteGroupResponse

type DeleteGroupResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteGroupResponse) GoString

func (s DeleteGroupResponse) GoString() string

func (*DeleteGroupResponse) SetBody

func (*DeleteGroupResponse) SetHeaders

func (s *DeleteGroupResponse) SetHeaders(v map[string]*string) *DeleteGroupResponse

func (*DeleteGroupResponse) SetStatusCode

func (s *DeleteGroupResponse) SetStatusCode(v int32) *DeleteGroupResponse

func (DeleteGroupResponse) String

func (s DeleteGroupResponse) String() string

type DeleteGroupResponseBody

type DeleteGroupResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// FCF40AB5-881C-A0F9-334C-B0AD423AA69D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteGroupResponseBody) GoString

func (s DeleteGroupResponseBody) GoString() string

func (*DeleteGroupResponseBody) SetRequestId

func (DeleteGroupResponseBody) String

func (s DeleteGroupResponseBody) String() string

type DeleteLoginProfileRequest

type DeleteLoginProfileRequest struct {
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (DeleteLoginProfileRequest) GoString

func (s DeleteLoginProfileRequest) GoString() string

func (*DeleteLoginProfileRequest) SetUserName

func (DeleteLoginProfileRequest) String

func (s DeleteLoginProfileRequest) String() string

type DeleteLoginProfileResponse

type DeleteLoginProfileResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteLoginProfileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteLoginProfileResponse) GoString

func (s DeleteLoginProfileResponse) GoString() string

func (*DeleteLoginProfileResponse) SetBody

func (*DeleteLoginProfileResponse) SetHeaders

func (*DeleteLoginProfileResponse) SetStatusCode

func (DeleteLoginProfileResponse) String

type DeleteLoginProfileResponseBody

type DeleteLoginProfileResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 1C488B66-B819-4D14-8711-C4EAAA13AC01
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteLoginProfileResponseBody) GoString

func (*DeleteLoginProfileResponseBody) SetRequestId

func (DeleteLoginProfileResponseBody) String

type DeletePolicyRequest

type DeletePolicyRequest struct {
	// Specifies whether to delete all versions of the policy. Valid values:
	//
	// 	- true: deletes all versions of the policy.
	//
	// 	- false: does not delete all versions of the policy. If you set the parameter to false, the non-default versions of the policy are not deleted. Before you delete the policy, you must manually delete all non-default versions of the policy.
	//
	// example:
	//
	// true
	CascadingDelete *bool `json:"CascadingDelete,omitempty" xml:"CascadingDelete,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
}

func (DeletePolicyRequest) GoString

func (s DeletePolicyRequest) GoString() string

func (*DeletePolicyRequest) SetCascadingDelete added in v2.1.1

func (s *DeletePolicyRequest) SetCascadingDelete(v bool) *DeletePolicyRequest

func (*DeletePolicyRequest) SetPolicyName

func (s *DeletePolicyRequest) SetPolicyName(v string) *DeletePolicyRequest

func (DeletePolicyRequest) String

func (s DeletePolicyRequest) String() string

type DeletePolicyResponse

type DeletePolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeletePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeletePolicyResponse) GoString

func (s DeletePolicyResponse) GoString() string

func (*DeletePolicyResponse) SetBody

func (*DeletePolicyResponse) SetHeaders

func (s *DeletePolicyResponse) SetHeaders(v map[string]*string) *DeletePolicyResponse

func (*DeletePolicyResponse) SetStatusCode

func (s *DeletePolicyResponse) SetStatusCode(v int32) *DeletePolicyResponse

func (DeletePolicyResponse) String

func (s DeletePolicyResponse) String() string

type DeletePolicyResponseBody

type DeletePolicyResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 898FAB24-7509-43EE-A287-086FE4C44394
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeletePolicyResponseBody) GoString

func (s DeletePolicyResponseBody) GoString() string

func (*DeletePolicyResponseBody) SetRequestId

func (DeletePolicyResponseBody) String

func (s DeletePolicyResponseBody) String() string

type DeletePolicyVersionRequest

type DeletePolicyVersionRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The ID of the policy version that you want to delete.
	//
	// example:
	//
	// v3
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (DeletePolicyVersionRequest) GoString

func (s DeletePolicyVersionRequest) GoString() string

func (*DeletePolicyVersionRequest) SetPolicyName

func (*DeletePolicyVersionRequest) SetVersionId

func (DeletePolicyVersionRequest) String

type DeletePolicyVersionResponse

type DeletePolicyVersionResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeletePolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeletePolicyVersionResponse) GoString

func (s DeletePolicyVersionResponse) GoString() string

func (*DeletePolicyVersionResponse) SetBody

func (*DeletePolicyVersionResponse) SetHeaders

func (*DeletePolicyVersionResponse) SetStatusCode

func (DeletePolicyVersionResponse) String

type DeletePolicyVersionResponseBody

type DeletePolicyVersionResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 9B34724D-54B0-4A51-B34D-4512372FE1BE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeletePolicyVersionResponseBody) GoString

func (*DeletePolicyVersionResponseBody) SetRequestId

func (DeletePolicyVersionResponseBody) String

type DeleteRoleRequest

type DeleteRoleRequest struct {
	// The name of the RAM role.
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (DeleteRoleRequest) GoString

func (s DeleteRoleRequest) GoString() string

func (*DeleteRoleRequest) SetRoleName

func (s *DeleteRoleRequest) SetRoleName(v string) *DeleteRoleRequest

func (DeleteRoleRequest) String

func (s DeleteRoleRequest) String() string

type DeleteRoleResponse

type DeleteRoleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteRoleResponse) GoString

func (s DeleteRoleResponse) GoString() string

func (*DeleteRoleResponse) SetBody

func (*DeleteRoleResponse) SetHeaders

func (s *DeleteRoleResponse) SetHeaders(v map[string]*string) *DeleteRoleResponse

func (*DeleteRoleResponse) SetStatusCode

func (s *DeleteRoleResponse) SetStatusCode(v int32) *DeleteRoleResponse

func (DeleteRoleResponse) String

func (s DeleteRoleResponse) String() string

type DeleteRoleResponseBody

type DeleteRoleResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 898FAB24-7509-43EE-A287-086FE4C44394
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteRoleResponseBody) GoString

func (s DeleteRoleResponseBody) GoString() string

func (*DeleteRoleResponseBody) SetRequestId

func (DeleteRoleResponseBody) String

func (s DeleteRoleResponseBody) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	// The name of the RAM user.
	//
	// The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (_).
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (DeleteUserRequest) GoString

func (s DeleteUserRequest) GoString() string

func (*DeleteUserRequest) SetUserName

func (s *DeleteUserRequest) SetUserName(v string) *DeleteUserRequest

func (DeleteUserRequest) String

func (s DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteUserResponse) GoString

func (s DeleteUserResponse) GoString() string

func (*DeleteUserResponse) SetBody

func (*DeleteUserResponse) SetHeaders

func (s *DeleteUserResponse) SetHeaders(v map[string]*string) *DeleteUserResponse

func (*DeleteUserResponse) SetStatusCode

func (s *DeleteUserResponse) SetStatusCode(v int32) *DeleteUserResponse

func (DeleteUserResponse) String

func (s DeleteUserResponse) String() string

type DeleteUserResponseBody

type DeleteUserResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 1C488B66-B819-4D14-8711-C4EAAA13AC01
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteUserResponseBody) GoString

func (s DeleteUserResponseBody) GoString() string

func (*DeleteUserResponseBody) SetRequestId

func (DeleteUserResponseBody) String

func (s DeleteUserResponseBody) String() string

type DeleteVirtualMFADeviceRequest

type DeleteVirtualMFADeviceRequest struct {
	// The serial number of the MFA device.
	//
	// example:
	//
	// acs:ram::123456789012****:mfa/device002
	SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"`
}

func (DeleteVirtualMFADeviceRequest) GoString

func (*DeleteVirtualMFADeviceRequest) SetSerialNumber

func (DeleteVirtualMFADeviceRequest) String

type DeleteVirtualMFADeviceResponse

type DeleteVirtualMFADeviceResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteVirtualMFADeviceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteVirtualMFADeviceResponse) GoString

func (*DeleteVirtualMFADeviceResponse) SetHeaders

func (*DeleteVirtualMFADeviceResponse) SetStatusCode

func (DeleteVirtualMFADeviceResponse) String

type DeleteVirtualMFADeviceResponseBody

type DeleteVirtualMFADeviceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteVirtualMFADeviceResponseBody) GoString

func (*DeleteVirtualMFADeviceResponseBody) SetRequestId

func (DeleteVirtualMFADeviceResponseBody) String

type DetachPolicyFromGroupRequest

type DetachPolicyFromGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// dev
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (DetachPolicyFromGroupRequest) GoString

func (s DetachPolicyFromGroupRequest) GoString() string

func (*DetachPolicyFromGroupRequest) SetGroupName

func (*DetachPolicyFromGroupRequest) SetPolicyName

func (*DetachPolicyFromGroupRequest) SetPolicyType

func (DetachPolicyFromGroupRequest) String

type DetachPolicyFromGroupResponse

type DetachPolicyFromGroupResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DetachPolicyFromGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DetachPolicyFromGroupResponse) GoString

func (*DetachPolicyFromGroupResponse) SetBody

func (*DetachPolicyFromGroupResponse) SetHeaders

func (*DetachPolicyFromGroupResponse) SetStatusCode

func (DetachPolicyFromGroupResponse) String

type DetachPolicyFromGroupResponseBody

type DetachPolicyFromGroupResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DetachPolicyFromGroupResponseBody) GoString

func (*DetachPolicyFromGroupResponseBody) SetRequestId

func (DetachPolicyFromGroupResponseBody) String

type DetachPolicyFromRoleRequest

type DetachPolicyFromRoleRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the RAM role.
	//
	// example:
	//
	// OSSAdminRole
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (DetachPolicyFromRoleRequest) GoString

func (s DetachPolicyFromRoleRequest) GoString() string

func (*DetachPolicyFromRoleRequest) SetPolicyName

func (*DetachPolicyFromRoleRequest) SetPolicyType

func (*DetachPolicyFromRoleRequest) SetRoleName

func (DetachPolicyFromRoleRequest) String

type DetachPolicyFromRoleResponse

type DetachPolicyFromRoleResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DetachPolicyFromRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DetachPolicyFromRoleResponse) GoString

func (s DetachPolicyFromRoleResponse) GoString() string

func (*DetachPolicyFromRoleResponse) SetBody

func (*DetachPolicyFromRoleResponse) SetHeaders

func (*DetachPolicyFromRoleResponse) SetStatusCode

func (DetachPolicyFromRoleResponse) String

type DetachPolicyFromRoleResponseBody

type DetachPolicyFromRoleResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DetachPolicyFromRoleResponseBody) GoString

func (*DetachPolicyFromRoleResponseBody) SetRequestId

func (DetachPolicyFromRoleResponseBody) String

type DetachPolicyFromUserRequest

type DetachPolicyFromUserRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (DetachPolicyFromUserRequest) GoString

func (s DetachPolicyFromUserRequest) GoString() string

func (*DetachPolicyFromUserRequest) SetPolicyName

func (*DetachPolicyFromUserRequest) SetPolicyType

func (*DetachPolicyFromUserRequest) SetUserName

func (DetachPolicyFromUserRequest) String

type DetachPolicyFromUserResponse

type DetachPolicyFromUserResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DetachPolicyFromUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DetachPolicyFromUserResponse) GoString

func (s DetachPolicyFromUserResponse) GoString() string

func (*DetachPolicyFromUserResponse) SetBody

func (*DetachPolicyFromUserResponse) SetHeaders

func (*DetachPolicyFromUserResponse) SetStatusCode

func (DetachPolicyFromUserResponse) String

type DetachPolicyFromUserResponseBody

type DetachPolicyFromUserResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DetachPolicyFromUserResponseBody) GoString

func (*DetachPolicyFromUserResponseBody) SetRequestId

func (DetachPolicyFromUserResponseBody) String

type GetAccessKeyLastUsedRequest

type GetAccessKeyLastUsedRequest struct {
	// example:
	//
	// LTAI4GFTgcR8m8cZQDTH****
	UserAccessKeyId *string `json:"UserAccessKeyId,omitempty" xml:"UserAccessKeyId,omitempty"`
	// example:
	//
	// test
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (GetAccessKeyLastUsedRequest) GoString

func (s GetAccessKeyLastUsedRequest) GoString() string

func (*GetAccessKeyLastUsedRequest) SetUserAccessKeyId

func (*GetAccessKeyLastUsedRequest) SetUserName

func (GetAccessKeyLastUsedRequest) String

type GetAccessKeyLastUsedResponse

type GetAccessKeyLastUsedResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAccessKeyLastUsedResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAccessKeyLastUsedResponse) GoString

func (s GetAccessKeyLastUsedResponse) GoString() string

func (*GetAccessKeyLastUsedResponse) SetBody

func (*GetAccessKeyLastUsedResponse) SetHeaders

func (*GetAccessKeyLastUsedResponse) SetStatusCode

func (GetAccessKeyLastUsedResponse) String

type GetAccessKeyLastUsedResponseBody

type GetAccessKeyLastUsedResponseBody struct {
	// The details of the time when the AccessKey pair was used for the last time.
	AccessKeyLastUsed *GetAccessKeyLastUsedResponseBodyAccessKeyLastUsed `json:"AccessKeyLastUsed,omitempty" xml:"AccessKeyLastUsed,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 5CCE804C-6450-49A7-B1DB-2460F7A97416
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetAccessKeyLastUsedResponseBody) GoString

func (*GetAccessKeyLastUsedResponseBody) SetRequestId

func (GetAccessKeyLastUsedResponseBody) String

type GetAccessKeyLastUsedResponseBodyAccessKeyLastUsed

type GetAccessKeyLastUsedResponseBodyAccessKeyLastUsed struct {
	// The time when the AccessKey pair was used for the last time.
	//
	// example:
	//
	// 2020-10-21T06:37:40Z
	LastUsedDate *string `json:"LastUsedDate,omitempty" xml:"LastUsedDate,omitempty"`
}

func (GetAccessKeyLastUsedResponseBodyAccessKeyLastUsed) GoString

func (*GetAccessKeyLastUsedResponseBodyAccessKeyLastUsed) SetLastUsedDate

func (GetAccessKeyLastUsedResponseBodyAccessKeyLastUsed) String

type GetAccountAliasResponse

type GetAccountAliasResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAccountAliasResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAccountAliasResponse) GoString

func (s GetAccountAliasResponse) GoString() string

func (*GetAccountAliasResponse) SetBody

func (*GetAccountAliasResponse) SetHeaders

func (*GetAccountAliasResponse) SetStatusCode

func (GetAccountAliasResponse) String

func (s GetAccountAliasResponse) String() string

type GetAccountAliasResponseBody

type GetAccountAliasResponseBody struct {
	// The alias of the Alibaba Cloud account.
	//
	// example:
	//
	// myalias
	AccountAlias *string `json:"AccountAlias,omitempty" xml:"AccountAlias,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetAccountAliasResponseBody) GoString

func (s GetAccountAliasResponseBody) GoString() string

func (*GetAccountAliasResponseBody) SetAccountAlias

func (*GetAccountAliasResponseBody) SetRequestId

func (GetAccountAliasResponseBody) String

type GetGroupRequest

type GetGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
}

func (GetGroupRequest) GoString

func (s GetGroupRequest) GoString() string

func (*GetGroupRequest) SetGroupName

func (s *GetGroupRequest) SetGroupName(v string) *GetGroupRequest

func (GetGroupRequest) String

func (s GetGroupRequest) String() string

type GetGroupResponse

type GetGroupResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetGroupResponse) GoString

func (s GetGroupResponse) GoString() string

func (*GetGroupResponse) SetBody

func (*GetGroupResponse) SetHeaders

func (s *GetGroupResponse) SetHeaders(v map[string]*string) *GetGroupResponse

func (*GetGroupResponse) SetStatusCode

func (s *GetGroupResponse) SetStatusCode(v int32) *GetGroupResponse

func (GetGroupResponse) String

func (s GetGroupResponse) String() string

type GetGroupResponseBody

type GetGroupResponseBody struct {
	// The information about the RAM user group.
	Group *GetGroupResponseBodyGroup `json:"Group,omitempty" xml:"Group,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// D4065824-E422-3ED6-68B1-1AF7D5C7804C
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetGroupResponseBody) GoString

func (s GetGroupResponseBody) GoString() string

func (*GetGroupResponseBody) SetGroup

func (*GetGroupResponseBody) SetRequestId

func (s *GetGroupResponseBody) SetRequestId(v string) *GetGroupResponseBody

func (GetGroupResponseBody) String

func (s GetGroupResponseBody) String() string

type GetGroupResponseBodyGroup

type GetGroupResponseBodyGroup struct {
	// The description of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The time when the RAM user group was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ID of the RAM user group.
	//
	// example:
	//
	// g-FpMEHiMysofp****
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The modification time.
	//
	// example:
	//
	// 2015-02-11T03:15:21Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (GetGroupResponseBodyGroup) GoString

func (s GetGroupResponseBodyGroup) GoString() string

func (*GetGroupResponseBodyGroup) SetComments

func (*GetGroupResponseBodyGroup) SetCreateDate

func (*GetGroupResponseBodyGroup) SetGroupId

func (*GetGroupResponseBodyGroup) SetGroupName

func (*GetGroupResponseBodyGroup) SetUpdateDate

func (GetGroupResponseBodyGroup) String

func (s GetGroupResponseBodyGroup) String() string

type GetLoginProfileRequest

type GetLoginProfileRequest struct {
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (GetLoginProfileRequest) GoString

func (s GetLoginProfileRequest) GoString() string

func (*GetLoginProfileRequest) SetUserName

func (GetLoginProfileRequest) String

func (s GetLoginProfileRequest) String() string

type GetLoginProfileResponse

type GetLoginProfileResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetLoginProfileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetLoginProfileResponse) GoString

func (s GetLoginProfileResponse) GoString() string

func (*GetLoginProfileResponse) SetBody

func (*GetLoginProfileResponse) SetHeaders

func (*GetLoginProfileResponse) SetStatusCode

func (GetLoginProfileResponse) String

func (s GetLoginProfileResponse) String() string

type GetLoginProfileResponseBody

type GetLoginProfileResponseBody struct {
	// The logon configurations of the RAM user.
	LoginProfile *GetLoginProfileResponseBodyLoginProfile `json:"LoginProfile,omitempty" xml:"LoginProfile,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetLoginProfileResponseBody) GoString

func (s GetLoginProfileResponseBody) GoString() string

func (*GetLoginProfileResponseBody) SetRequestId

func (GetLoginProfileResponseBody) String

type GetLoginProfileResponseBodyLoginProfile

type GetLoginProfileResponseBodyLoginProfile struct {
	// The creation time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether a multi-factor authentication (MFA) device must be bound to the RAM user.
	//
	// example:
	//
	// true
	MFABindRequired *bool `json:"MFABindRequired,omitempty" xml:"MFABindRequired,omitempty"`
	// Indicates whether the RAM user must change the password upon logon.
	//
	// example:
	//
	// true
	PasswordResetRequired *bool `json:"PasswordResetRequired,omitempty" xml:"PasswordResetRequired,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (GetLoginProfileResponseBodyLoginProfile) GoString

func (*GetLoginProfileResponseBodyLoginProfile) SetCreateDate

func (*GetLoginProfileResponseBodyLoginProfile) SetMFABindRequired

func (*GetLoginProfileResponseBodyLoginProfile) SetPasswordResetRequired

func (*GetLoginProfileResponseBodyLoginProfile) SetUserName

func (GetLoginProfileResponseBodyLoginProfile) String

type GetPasswordPolicyResponse

type GetPasswordPolicyResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPasswordPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPasswordPolicyResponse) GoString

func (s GetPasswordPolicyResponse) GoString() string

func (*GetPasswordPolicyResponse) SetBody

func (*GetPasswordPolicyResponse) SetHeaders

func (*GetPasswordPolicyResponse) SetStatusCode

func (GetPasswordPolicyResponse) String

func (s GetPasswordPolicyResponse) String() string

type GetPasswordPolicyResponseBody

type GetPasswordPolicyResponseBody struct {
	// The password policy.
	PasswordPolicy *GetPasswordPolicyResponseBodyPasswordPolicy `json:"PasswordPolicy,omitempty" xml:"PasswordPolicy,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetPasswordPolicyResponseBody) GoString

func (*GetPasswordPolicyResponseBody) SetRequestId

func (GetPasswordPolicyResponseBody) String

type GetPasswordPolicyResponseBodyPasswordPolicy

type GetPasswordPolicyResponseBodyPasswordPolicy struct {
	// Indicates whether a password expires. Valid values: `true` and `false`. Default value: `false`. If the parameter is unspecified, the default value false is returned.
	//
	// 	- If this parameter is set to `true`, the Alibaba Cloud account to which the RAM users belong must reset the password before the RAM users can log on to the Alibaba Cloud Management Console.
	//
	// 	- If this parameter is set to `false`, the RAM users can change the passwords after the passwords expire and then log on to the Alibaba Cloud Management Console.
	//
	// example:
	//
	// false
	HardExpiry *bool `json:"HardExpiry,omitempty" xml:"HardExpiry,omitempty"`
	// The maximum number of permitted logon attempts within one hour. The number of logon attempts is reset to zero if a RAM user changes the password.
	//
	// example:
	//
	// 5
	MaxLoginAttemps *int32 `json:"MaxLoginAttemps,omitempty" xml:"MaxLoginAttemps,omitempty"`
	// The number of days for which a password is valid. If you reset a password, the password validity period restarts. Default value: 0. The default value indicates that the password never expires.
	//
	// example:
	//
	// 0
	MaxPasswordAge *int32 `json:"MaxPasswordAge,omitempty" xml:"MaxPasswordAge,omitempty"`
	// The minimum number of characters in a password.
	//
	// example:
	//
	// 12
	MinimumPasswordLength *int32 `json:"MinimumPasswordLength,omitempty" xml:"MinimumPasswordLength,omitempty"`
	// The number of previous passwords that a RAM user is prevented from reusing. Default value: 0. The default value indicates that the RAM user can reuse previous passwords.
	//
	// example:
	//
	// 0
	PasswordReusePrevention *int32 `json:"PasswordReusePrevention,omitempty" xml:"PasswordReusePrevention,omitempty"`
	// Indicates whether a password must contain one or more lowercase letters.
	//
	// example:
	//
	// true
	RequireLowercaseCharacters *bool `json:"RequireLowercaseCharacters,omitempty" xml:"RequireLowercaseCharacters,omitempty"`
	// Indicates whether a password must contain one or more digits.
	//
	// example:
	//
	// true
	RequireNumbers *bool `json:"RequireNumbers,omitempty" xml:"RequireNumbers,omitempty"`
	// Indicates whether a password must contain one or more special characters.
	//
	// example:
	//
	// true
	RequireSymbols *bool `json:"RequireSymbols,omitempty" xml:"RequireSymbols,omitempty"`
	// Indicates whether a password must contain one or more uppercase letters.
	//
	// example:
	//
	// true
	RequireUppercaseCharacters *bool `json:"RequireUppercaseCharacters,omitempty" xml:"RequireUppercaseCharacters,omitempty"`
}

func (GetPasswordPolicyResponseBodyPasswordPolicy) GoString

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetHardExpiry

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetMaxLoginAttemps

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetMaxPasswordAge

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetMinimumPasswordLength

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetPasswordReusePrevention

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetRequireLowercaseCharacters

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetRequireNumbers

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetRequireSymbols

func (*GetPasswordPolicyResponseBodyPasswordPolicy) SetRequireUppercaseCharacters

func (GetPasswordPolicyResponseBodyPasswordPolicy) String

type GetPolicyRequest

type GetPolicyRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (GetPolicyRequest) GoString

func (s GetPolicyRequest) GoString() string

func (*GetPolicyRequest) SetPolicyName

func (s *GetPolicyRequest) SetPolicyName(v string) *GetPolicyRequest

func (*GetPolicyRequest) SetPolicyType

func (s *GetPolicyRequest) SetPolicyType(v string) *GetPolicyRequest

func (GetPolicyRequest) String

func (s GetPolicyRequest) String() string

type GetPolicyResponse

type GetPolicyResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPolicyResponse) GoString

func (s GetPolicyResponse) GoString() string

func (*GetPolicyResponse) SetBody

func (*GetPolicyResponse) SetHeaders

func (s *GetPolicyResponse) SetHeaders(v map[string]*string) *GetPolicyResponse

func (*GetPolicyResponse) SetStatusCode

func (s *GetPolicyResponse) SetStatusCode(v int32) *GetPolicyResponse

func (GetPolicyResponse) String

func (s GetPolicyResponse) String() string

type GetPolicyResponseBody

type GetPolicyResponseBody struct {
	// The information about the default policy version.
	DefaultPolicyVersion *GetPolicyResponseBodyDefaultPolicyVersion `json:"DefaultPolicyVersion,omitempty" xml:"DefaultPolicyVersion,omitempty" type:"Struct"`
	// The basic information about the policy.
	Policy *GetPolicyResponseBodyPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetPolicyResponseBody) GoString

func (s GetPolicyResponseBody) GoString() string

func (*GetPolicyResponseBody) SetDefaultPolicyVersion

func (*GetPolicyResponseBody) SetPolicy

func (*GetPolicyResponseBody) SetRequestId

func (GetPolicyResponseBody) String

func (s GetPolicyResponseBody) String() string

type GetPolicyResponseBodyDefaultPolicyVersion

type GetPolicyResponseBodyDefaultPolicyVersion struct {
	// The time when the default policy version was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// An attribute in the `DefaultPolicyVersion` parameter. The value of the `IsDefaultVersion` parameter is `true`.
	//
	// example:
	//
	// true
	IsDefaultVersion *bool `json:"IsDefaultVersion,omitempty" xml:"IsDefaultVersion,omitempty"`
	// The document of the policy.
	//
	// example:
	//
	// { "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The ID of the default policy version.
	//
	// example:
	//
	// v1
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (GetPolicyResponseBodyDefaultPolicyVersion) GoString

func (*GetPolicyResponseBodyDefaultPolicyVersion) SetCreateDate

func (*GetPolicyResponseBodyDefaultPolicyVersion) SetIsDefaultVersion

func (*GetPolicyResponseBodyDefaultPolicyVersion) SetPolicyDocument

func (*GetPolicyResponseBodyDefaultPolicyVersion) SetVersionId

func (GetPolicyResponseBodyDefaultPolicyVersion) String

type GetPolicyResponseBodyPolicy

type GetPolicyResponseBodyPolicy struct {
	// The number of references to the policy.
	//
	// example:
	//
	// 0
	AttachmentCount *int32 `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the policy was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The default version of the policy.
	//
	// example:
	//
	// v1
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	//
	// example:
	//
	// OSS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// This parameter is deprecated.
	//
	// example:
	//
	// N/A
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the policy was modified.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (GetPolicyResponseBodyPolicy) GoString

func (s GetPolicyResponseBodyPolicy) GoString() string

func (*GetPolicyResponseBodyPolicy) SetAttachmentCount

func (*GetPolicyResponseBodyPolicy) SetCreateDate

func (*GetPolicyResponseBodyPolicy) SetDefaultVersion

func (*GetPolicyResponseBodyPolicy) SetDescription

func (*GetPolicyResponseBodyPolicy) SetPolicyDocument

func (*GetPolicyResponseBodyPolicy) SetPolicyName

func (*GetPolicyResponseBodyPolicy) SetPolicyType

func (*GetPolicyResponseBodyPolicy) SetUpdateDate

func (GetPolicyResponseBodyPolicy) String

type GetPolicyVersionRequest

type GetPolicyVersionRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The ID of the policy version.
	//
	// example:
	//
	// v3
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (GetPolicyVersionRequest) GoString

func (s GetPolicyVersionRequest) GoString() string

func (*GetPolicyVersionRequest) SetPolicyName

func (*GetPolicyVersionRequest) SetPolicyType

func (*GetPolicyVersionRequest) SetVersionId

func (GetPolicyVersionRequest) String

func (s GetPolicyVersionRequest) String() string

type GetPolicyVersionResponse

type GetPolicyVersionResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPolicyVersionResponse) GoString

func (s GetPolicyVersionResponse) GoString() string

func (*GetPolicyVersionResponse) SetBody

func (*GetPolicyVersionResponse) SetHeaders

func (*GetPolicyVersionResponse) SetStatusCode

func (GetPolicyVersionResponse) String

func (s GetPolicyVersionResponse) String() string

type GetPolicyVersionResponseBody

type GetPolicyVersionResponseBody struct {
	// The information about the policy version.
	PolicyVersion *GetPolicyVersionResponseBodyPolicyVersion `json:"PolicyVersion,omitempty" xml:"PolicyVersion,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 9B34724D-54B0-4A51-B34D-4512372FE1BE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetPolicyVersionResponseBody) GoString

func (s GetPolicyVersionResponseBody) GoString() string

func (*GetPolicyVersionResponseBody) SetRequestId

func (GetPolicyVersionResponseBody) String

type GetPolicyVersionResponseBodyPolicyVersion

type GetPolicyVersionResponseBodyPolicyVersion struct {
	// The creation time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether the policy version is the default version.
	//
	// example:
	//
	// false
	IsDefaultVersion *bool `json:"IsDefaultVersion,omitempty" xml:"IsDefaultVersion,omitempty"`
	// The document of the policy.
	//
	// example:
	//
	// { "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The ID of the policy version.
	//
	// example:
	//
	// v3
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (GetPolicyVersionResponseBodyPolicyVersion) GoString

func (*GetPolicyVersionResponseBodyPolicyVersion) SetCreateDate

func (*GetPolicyVersionResponseBodyPolicyVersion) SetIsDefaultVersion

func (*GetPolicyVersionResponseBodyPolicyVersion) SetPolicyDocument

func (*GetPolicyVersionResponseBodyPolicyVersion) SetVersionId

func (GetPolicyVersionResponseBodyPolicyVersion) String

type GetRoleRequest

type GetRoleRequest struct {
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (GetRoleRequest) GoString

func (s GetRoleRequest) GoString() string

func (*GetRoleRequest) SetRoleName

func (s *GetRoleRequest) SetRoleName(v string) *GetRoleRequest

func (GetRoleRequest) String

func (s GetRoleRequest) String() string

type GetRoleResponse

type GetRoleResponse struct {
	Headers    map[string]*string   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetRoleResponse) GoString

func (s GetRoleResponse) GoString() string

func (*GetRoleResponse) SetBody

func (*GetRoleResponse) SetHeaders

func (s *GetRoleResponse) SetHeaders(v map[string]*string) *GetRoleResponse

func (*GetRoleResponse) SetStatusCode

func (s *GetRoleResponse) SetStatusCode(v int32) *GetRoleResponse

func (GetRoleResponse) String

func (s GetRoleResponse) String() string

type GetRoleResponseBody

type GetRoleResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM role.
	Role *GetRoleResponseBodyRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Struct"`
}

func (GetRoleResponseBody) GoString

func (s GetRoleResponseBody) GoString() string

func (*GetRoleResponseBody) SetRequestId

func (s *GetRoleResponseBody) SetRequestId(v string) *GetRoleResponseBody

func (*GetRoleResponseBody) SetRole

func (GetRoleResponseBody) String

func (s GetRoleResponseBody) String() string

type GetRoleResponseBodyRole

type GetRoleResponseBodyRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	//
	// example:
	//
	// acs:ram::123456789012****:role/ECSAdmin
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The policy that specifies the trusted entity to assume the RAM role.
	//
	// example:
	//
	// { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::123456789012****:root" } } ], "Version": "1" }
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The time when the RAM role was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	//
	// example:
	//
	// ECS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session duration of the RAM role.
	//
	// example:
	//
	// 3600
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	//
	// example:
	//
	// 901234567890****
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The time when the RAM role was modified.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (GetRoleResponseBodyRole) GoString

func (s GetRoleResponseBodyRole) GoString() string

func (*GetRoleResponseBodyRole) SetArn

func (*GetRoleResponseBodyRole) SetAssumeRolePolicyDocument

func (s *GetRoleResponseBodyRole) SetAssumeRolePolicyDocument(v string) *GetRoleResponseBodyRole

func (*GetRoleResponseBodyRole) SetCreateDate

func (*GetRoleResponseBodyRole) SetDescription

func (*GetRoleResponseBodyRole) SetMaxSessionDuration

func (s *GetRoleResponseBodyRole) SetMaxSessionDuration(v int64) *GetRoleResponseBodyRole

func (*GetRoleResponseBodyRole) SetRoleId

func (*GetRoleResponseBodyRole) SetRoleName

func (*GetRoleResponseBodyRole) SetUpdateDate

func (GetRoleResponseBodyRole) String

func (s GetRoleResponseBodyRole) String() string

type GetSecurityPreferenceResponse

type GetSecurityPreferenceResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetSecurityPreferenceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetSecurityPreferenceResponse) GoString

func (*GetSecurityPreferenceResponse) SetBody

func (*GetSecurityPreferenceResponse) SetHeaders

func (*GetSecurityPreferenceResponse) SetStatusCode

func (GetSecurityPreferenceResponse) String

type GetSecurityPreferenceResponseBody

type GetSecurityPreferenceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// DC1213F1-A9D5-4A01-A996-44983689126C
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The security preferences.
	SecurityPreference *GetSecurityPreferenceResponseBodySecurityPreference `json:"SecurityPreference,omitempty" xml:"SecurityPreference,omitempty" type:"Struct"`
}

func (GetSecurityPreferenceResponseBody) GoString

func (*GetSecurityPreferenceResponseBody) SetRequestId

func (GetSecurityPreferenceResponseBody) String

type GetSecurityPreferenceResponseBodySecurityPreference

type GetSecurityPreferenceResponseBodySecurityPreference struct {
	// The AccessKey pair preference.
	AccessKeyPreference *GetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference `json:"AccessKeyPreference,omitempty" xml:"AccessKeyPreference,omitempty" type:"Struct"`
	// The logon preference.
	LoginProfilePreference *GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference `json:"LoginProfilePreference,omitempty" xml:"LoginProfilePreference,omitempty" type:"Struct"`
	// The multi-factor authentication (MFA) preference.
	MFAPreference *GetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference `json:"MFAPreference,omitempty" xml:"MFAPreference,omitempty" type:"Struct"`
	// The public key preference.
	//
	// >  This parameter is valid only for the Japan site.
	PublicKeyPreference *GetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference `json:"PublicKeyPreference,omitempty" xml:"PublicKeyPreference,omitempty" type:"Struct"`
}

func (GetSecurityPreferenceResponseBodySecurityPreference) GoString

func (GetSecurityPreferenceResponseBodySecurityPreference) String

type GetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference

type GetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference struct {
	// Indicates whether Resource Access Management (RAM) users can manage their AccessKey pairs. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// false
	AllowUserToManageAccessKeys *bool `json:"AllowUserToManageAccessKeys,omitempty" xml:"AllowUserToManageAccessKeys,omitempty"`
}

func (GetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference) GoString

func (*GetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference) SetAllowUserToManageAccessKeys

func (GetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference) String

type GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference

type GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference struct {
	// Indicates whether RAM users can change their passwords. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	AllowUserToChangePassword *bool `json:"AllowUserToChangePassword,omitempty" xml:"AllowUserToChangePassword,omitempty"`
	// Indicates whether RAM users can save security codes for MFA during logon. Each security code is valid for seven days. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// false
	EnableSaveMFATicket *bool `json:"EnableSaveMFATicket,omitempty" xml:"EnableSaveMFATicket,omitempty"`
	// The subnet mask that indicates the IP addresses from which logon to the Alibaba Cloud Management Console is allowed. This parameter applies to password-based logon and single sign-on (SSO). However, this parameter does not apply to API calls that are authenticated based on AccessKey pairs.
	//
	// 	- If you specify a subnet mask, RAM users can use only the IP addresses in the subnet mask to log on to the Alibaba Cloud Management Console.
	//
	// 	- If you do not specify a subnet mask, RAM users can use all IP addresses to log on to the Alibaba Cloud Management Console.
	//
	// If you want to specify more than one subnet mask, separate the masks with semicolons (;). Example: 192.168.0.0/16;10.0.0.0/8.
	//
	// example:
	//
	// 10.0.0.0/8
	LoginNetworkMasks *string `json:"LoginNetworkMasks,omitempty" xml:"LoginNetworkMasks,omitempty"`
	// The validity period of the logon session of RAM users. Unit: hours.
	//
	// example:
	//
	// 6
	LoginSessionDuration *int32 `json:"LoginSessionDuration,omitempty" xml:"LoginSessionDuration,omitempty"`
}

func (GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) GoString

func (*GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetAllowUserToChangePassword

func (*GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetEnableSaveMFATicket

func (*GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetLoginNetworkMasks

func (*GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetLoginSessionDuration

func (GetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) String

type GetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference

type GetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference struct {
	// Indicates whether RAM users can manage their MFA devices. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	AllowUserToManageMFADevices *bool `json:"AllowUserToManageMFADevices,omitempty" xml:"AllowUserToManageMFADevices,omitempty"`
}

func (GetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference) GoString

func (*GetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference) SetAllowUserToManageMFADevices

func (GetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference) String

type GetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference

type GetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference struct {
	// Indicates whether RAM users can manage their public keys. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// false
	AllowUserToManagePublicKeys *bool `json:"AllowUserToManagePublicKeys,omitempty" xml:"AllowUserToManagePublicKeys,omitempty"`
}

func (GetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference) GoString

func (*GetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference) SetAllowUserToManagePublicKeys

func (GetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference) String

type GetUserMFAInfoRequest

type GetUserMFAInfoRequest struct {
	// The name of the RAM user.
	//
	// example:
	//
	// test
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (GetUserMFAInfoRequest) GoString

func (s GetUserMFAInfoRequest) GoString() string

func (*GetUserMFAInfoRequest) SetUserName

func (GetUserMFAInfoRequest) String

func (s GetUserMFAInfoRequest) String() string

type GetUserMFAInfoResponse

type GetUserMFAInfoResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetUserMFAInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetUserMFAInfoResponse) GoString

func (s GetUserMFAInfoResponse) GoString() string

func (*GetUserMFAInfoResponse) SetBody

func (*GetUserMFAInfoResponse) SetHeaders

func (*GetUserMFAInfoResponse) SetStatusCode

func (GetUserMFAInfoResponse) String

func (s GetUserMFAInfoResponse) String() string

type GetUserMFAInfoResponseBody

type GetUserMFAInfoResponseBody struct {
	// The information about the MFA device that is bound to the RAM user.
	MFADevice *GetUserMFAInfoResponseBodyMFADevice `json:"MFADevice,omitempty" xml:"MFADevice,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetUserMFAInfoResponseBody) GoString

func (s GetUserMFAInfoResponseBody) GoString() string

func (*GetUserMFAInfoResponseBody) SetMFADevice

func (*GetUserMFAInfoResponseBody) SetRequestId

func (GetUserMFAInfoResponseBody) String

type GetUserMFAInfoResponseBodyMFADevice

type GetUserMFAInfoResponseBodyMFADevice struct {
	// The serial number of the MFA device.
	//
	// example:
	//
	// acs:ram::177242285274****:mfa/test
	SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"`
	// The type of the MFA device. Valid values:
	//
	// 	- VMFA: virtual MFA device.
	//
	// 	- U2F: Universal 2nd Factor (U2F) security key.
	//
	// example:
	//
	// VMFA
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (GetUserMFAInfoResponseBodyMFADevice) GoString

func (*GetUserMFAInfoResponseBodyMFADevice) SetSerialNumber

func (*GetUserMFAInfoResponseBodyMFADevice) SetType

func (GetUserMFAInfoResponseBodyMFADevice) String

type GetUserRequest

type GetUserRequest struct {
	// The username of the RAM user.
	//
	// The username must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (_).
	//
	// example:
	//
	// alice
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (GetUserRequest) GoString

func (s GetUserRequest) GoString() string

func (*GetUserRequest) SetUserName

func (s *GetUserRequest) SetUserName(v string) *GetUserRequest

func (GetUserRequest) String

func (s GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	Headers    map[string]*string   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetUserResponse) GoString

func (s GetUserResponse) GoString() string

func (*GetUserResponse) SetBody

func (*GetUserResponse) SetHeaders

func (s *GetUserResponse) SetHeaders(v map[string]*string) *GetUserResponse

func (*GetUserResponse) SetStatusCode

func (s *GetUserResponse) SetStatusCode(v int32) *GetUserResponse

func (GetUserResponse) String

func (s GetUserResponse) String() string

type GetUserResponseBody

type GetUserResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 2D69A58F-345C-4FDE-88E4-BF5189484043
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM user.
	User *GetUserResponseBodyUser `json:"User,omitempty" xml:"User,omitempty" type:"Struct"`
}

func (GetUserResponseBody) GoString

func (s GetUserResponseBody) GoString() string

func (*GetUserResponseBody) SetRequestId

func (s *GetUserResponseBody) SetRequestId(v string) *GetUserResponseBody

func (*GetUserResponseBody) SetUser

func (GetUserResponseBody) String

func (s GetUserResponseBody) String() string

type GetUserResponseBodyUser

type GetUserResponseBodyUser struct {
	// The description of the RAM user.
	//
	// example:
	//
	// Cloud computing engineer
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The point in time when the RAM user was created. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the RAM user.
	//
	// example:
	//
	// alice
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The email address of the RAM user.
	//
	// >  This parameter can be returned only on the China site (aliyun.com).
	//
	// example:
	//
	// alice@example.com
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// The point in time when the RAM user last logged on to the Alibaba Cloud Management Console by using the password. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	LastLoginDate *string `json:"LastLoginDate,omitempty" xml:"LastLoginDate,omitempty"`
	// The mobile phone number of the RAM user.
	//
	// >  This parameter can be returned only on the China site (aliyun.com).
	//
	// example:
	//
	// 86-1860000****
	MobilePhone *string `json:"MobilePhone,omitempty" xml:"MobilePhone,omitempty"`
	// The point in time when the information about the RAM user was last modified. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-02-11T03:15:21Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
	// The ID of the RAM user.
	//
	// example:
	//
	// 222748924538****
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// The username of the RAM user.
	//
	// example:
	//
	// alice
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (GetUserResponseBodyUser) GoString

func (s GetUserResponseBodyUser) GoString() string

func (*GetUserResponseBodyUser) SetComments

func (*GetUserResponseBodyUser) SetCreateDate

func (*GetUserResponseBodyUser) SetDisplayName

func (*GetUserResponseBodyUser) SetEmail

func (*GetUserResponseBodyUser) SetLastLoginDate

func (s *GetUserResponseBodyUser) SetLastLoginDate(v string) *GetUserResponseBodyUser

func (*GetUserResponseBodyUser) SetMobilePhone

func (*GetUserResponseBodyUser) SetUpdateDate

func (*GetUserResponseBodyUser) SetUserId

func (*GetUserResponseBodyUser) SetUserName

func (GetUserResponseBodyUser) String

func (s GetUserResponseBodyUser) String() string

type ListAccessKeysRequest

type ListAccessKeysRequest struct {
	// The name of the RAM user. If a RAM user calls this operation and does not specify this parameter, the AccessKey pairs of the RAM user are returned.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (ListAccessKeysRequest) GoString

func (s ListAccessKeysRequest) GoString() string

func (*ListAccessKeysRequest) SetUserName

func (ListAccessKeysRequest) String

func (s ListAccessKeysRequest) String() string

type ListAccessKeysResponse

type ListAccessKeysResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAccessKeysResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAccessKeysResponse) GoString

func (s ListAccessKeysResponse) GoString() string

func (*ListAccessKeysResponse) SetBody

func (*ListAccessKeysResponse) SetHeaders

func (*ListAccessKeysResponse) SetStatusCode

func (ListAccessKeysResponse) String

func (s ListAccessKeysResponse) String() string

type ListAccessKeysResponseBody

type ListAccessKeysResponseBody struct {
	// The AccessKey pairs that belong to the RAM user.
	AccessKeys *ListAccessKeysResponseBodyAccessKeys `json:"AccessKeys,omitempty" xml:"AccessKeys,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 4B450CA1-36E8-4AA2-8461-86B42BF4CC4E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListAccessKeysResponseBody) GoString

func (s ListAccessKeysResponseBody) GoString() string

func (*ListAccessKeysResponseBody) SetAccessKeys

func (*ListAccessKeysResponseBody) SetRequestId

func (ListAccessKeysResponseBody) String

type ListAccessKeysResponseBodyAccessKeys

type ListAccessKeysResponseBodyAccessKeys struct {
	AccessKey []*ListAccessKeysResponseBodyAccessKeysAccessKey `json:"AccessKey,omitempty" xml:"AccessKey,omitempty" type:"Repeated"`
}

func (ListAccessKeysResponseBodyAccessKeys) GoString

func (ListAccessKeysResponseBodyAccessKeys) String

type ListAccessKeysResponseBodyAccessKeysAccessKey

type ListAccessKeysResponseBodyAccessKeysAccessKey struct {
	// The AccessKey ID.
	//
	// example:
	//
	// 0wNEpMMlzy7s****
	AccessKeyId *string `json:"AccessKeyId,omitempty" xml:"AccessKeyId,omitempty"`
	// The time when the AccessKey pair was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The status of the AccessKey pair. Valid values: Active and Inactive.
	//
	// example:
	//
	// Active
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListAccessKeysResponseBodyAccessKeysAccessKey) GoString

func (*ListAccessKeysResponseBodyAccessKeysAccessKey) SetAccessKeyId

func (*ListAccessKeysResponseBodyAccessKeysAccessKey) SetCreateDate

func (*ListAccessKeysResponseBodyAccessKeysAccessKey) SetStatus

func (ListAccessKeysResponseBodyAccessKeysAccessKey) String

type ListEntitiesForPolicyRequest

type ListEntitiesForPolicyRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListEntitiesForPolicyRequest) GoString

func (s ListEntitiesForPolicyRequest) GoString() string

func (*ListEntitiesForPolicyRequest) SetPolicyName

func (*ListEntitiesForPolicyRequest) SetPolicyType

func (ListEntitiesForPolicyRequest) String

type ListEntitiesForPolicyResponse

type ListEntitiesForPolicyResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListEntitiesForPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListEntitiesForPolicyResponse) GoString

func (*ListEntitiesForPolicyResponse) SetBody

func (*ListEntitiesForPolicyResponse) SetHeaders

func (*ListEntitiesForPolicyResponse) SetStatusCode

func (ListEntitiesForPolicyResponse) String

type ListEntitiesForPolicyResponseBody

type ListEntitiesForPolicyResponseBody struct {
	// The information about the Resource Access Management (RAM) user groups.
	Groups *ListEntitiesForPolicyResponseBodyGroups `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM roles.
	Roles *ListEntitiesForPolicyResponseBodyRoles `json:"Roles,omitempty" xml:"Roles,omitempty" type:"Struct"`
	// The information about the RAM users.
	Users *ListEntitiesForPolicyResponseBodyUsers `json:"Users,omitempty" xml:"Users,omitempty" type:"Struct"`
}

func (ListEntitiesForPolicyResponseBody) GoString

func (*ListEntitiesForPolicyResponseBody) SetRequestId

func (ListEntitiesForPolicyResponseBody) String

type ListEntitiesForPolicyResponseBodyGroups

type ListEntitiesForPolicyResponseBodyGroups struct {
	Group []*ListEntitiesForPolicyResponseBodyGroupsGroup `json:"Group,omitempty" xml:"Group,omitempty" type:"Repeated"`
}

func (ListEntitiesForPolicyResponseBodyGroups) GoString

func (ListEntitiesForPolicyResponseBodyGroups) String

type ListEntitiesForPolicyResponseBodyGroupsGroup

type ListEntitiesForPolicyResponseBodyGroupsGroup struct {
	// The time when the policy was attached to the RAM user group.
	//
	// example:
	//
	// 2015-02-18T17:22:08Z
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The description of the RAM user group.
	//
	// example:
	//
	// Test team
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The name of the RAM user group.
	//
	// example:
	//
	// QA-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
}

func (ListEntitiesForPolicyResponseBodyGroupsGroup) GoString

func (*ListEntitiesForPolicyResponseBodyGroupsGroup) SetAttachDate

func (*ListEntitiesForPolicyResponseBodyGroupsGroup) SetComments

func (*ListEntitiesForPolicyResponseBodyGroupsGroup) SetGroupName

func (ListEntitiesForPolicyResponseBodyGroupsGroup) String

type ListEntitiesForPolicyResponseBodyRoles

type ListEntitiesForPolicyResponseBodyRoles struct {
	Role []*ListEntitiesForPolicyResponseBodyRolesRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Repeated"`
}

func (ListEntitiesForPolicyResponseBodyRoles) GoString

func (ListEntitiesForPolicyResponseBodyRoles) String

type ListEntitiesForPolicyResponseBodyRolesRole

type ListEntitiesForPolicyResponseBodyRolesRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	//
	// example:
	//
	// acs:ram::123456789012****:role/ECSAdmin
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The time when the policy was attached to the RAM role.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The description of the RAM role.
	//
	// example:
	//
	// ECS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the RAM role.
	//
	// example:
	//
	// 122748924538****
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (ListEntitiesForPolicyResponseBodyRolesRole) GoString

func (*ListEntitiesForPolicyResponseBodyRolesRole) SetArn

func (*ListEntitiesForPolicyResponseBodyRolesRole) SetAttachDate

func (*ListEntitiesForPolicyResponseBodyRolesRole) SetDescription

func (*ListEntitiesForPolicyResponseBodyRolesRole) SetRoleId

func (*ListEntitiesForPolicyResponseBodyRolesRole) SetRoleName

func (ListEntitiesForPolicyResponseBodyRolesRole) String

type ListEntitiesForPolicyResponseBodyUsers

type ListEntitiesForPolicyResponseBodyUsers struct {
	User []*ListEntitiesForPolicyResponseBodyUsersUser `json:"User,omitempty" xml:"User,omitempty" type:"Repeated"`
}

func (ListEntitiesForPolicyResponseBodyUsers) GoString

func (ListEntitiesForPolicyResponseBodyUsers) String

type ListEntitiesForPolicyResponseBodyUsersUser

type ListEntitiesForPolicyResponseBodyUsersUser struct {
	// The time when the policy was attached to the RAM user.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The display name of the RAM user.
	//
	// example:
	//
	// Zhang*
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The unique ID of the RAM user.
	//
	// example:
	//
	// 122748924538****
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (ListEntitiesForPolicyResponseBodyUsersUser) GoString

func (*ListEntitiesForPolicyResponseBodyUsersUser) SetAttachDate

func (*ListEntitiesForPolicyResponseBodyUsersUser) SetDisplayName

func (*ListEntitiesForPolicyResponseBodyUsersUser) SetUserId

func (*ListEntitiesForPolicyResponseBodyUsersUser) SetUserName

func (ListEntitiesForPolicyResponseBodyUsersUser) String

type ListGroupsForUserRequest

type ListGroupsForUserRequest struct {
	// The name of the RAM user.
	//
	// example:
	//
	// Alice
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (ListGroupsForUserRequest) GoString

func (s ListGroupsForUserRequest) GoString() string

func (*ListGroupsForUserRequest) SetUserName

func (ListGroupsForUserRequest) String

func (s ListGroupsForUserRequest) String() string

type ListGroupsForUserResponse

type ListGroupsForUserResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListGroupsForUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListGroupsForUserResponse) GoString

func (s ListGroupsForUserResponse) GoString() string

func (*ListGroupsForUserResponse) SetBody

func (*ListGroupsForUserResponse) SetHeaders

func (*ListGroupsForUserResponse) SetStatusCode

func (ListGroupsForUserResponse) String

func (s ListGroupsForUserResponse) String() string

type ListGroupsForUserResponseBody

type ListGroupsForUserResponseBody struct {
	// The information about the RAM user groups.
	Groups *ListGroupsForUserResponseBodyGroups `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// DA772B52-BF9F-54CA-AC77-AA7A2DA89D46
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListGroupsForUserResponseBody) GoString

func (*ListGroupsForUserResponseBody) SetRequestId

func (ListGroupsForUserResponseBody) String

type ListGroupsForUserResponseBodyGroups

type ListGroupsForUserResponseBodyGroups struct {
	Group []*ListGroupsForUserResponseBodyGroupsGroup `json:"Group,omitempty" xml:"Group,omitempty" type:"Repeated"`
}

func (ListGroupsForUserResponseBodyGroups) GoString

func (ListGroupsForUserResponseBodyGroups) String

type ListGroupsForUserResponseBodyGroupsGroup

type ListGroupsForUserResponseBodyGroupsGroup struct {
	// The description.
	//
	// example:
	//
	// Dev-Team
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The ID of the RAM user group.
	//
	// example:
	//
	// g-zYtroLrgbZR1****
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The time when the RAM user was added to the RAM user group.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	JoinDate *string `json:"JoinDate,omitempty" xml:"JoinDate,omitempty"`
}

func (ListGroupsForUserResponseBodyGroupsGroup) GoString

func (*ListGroupsForUserResponseBodyGroupsGroup) SetComments

func (*ListGroupsForUserResponseBodyGroupsGroup) SetGroupId

func (*ListGroupsForUserResponseBodyGroupsGroup) SetGroupName

func (*ListGroupsForUserResponseBodyGroupsGroup) SetJoinDate

func (ListGroupsForUserResponseBodyGroupsGroup) String

type ListGroupsRequest

type ListGroupsRequest struct {
	// The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.“
	//
	// When you call the operation for the first time, if the total number of returned entries exceeds the value of `MaxItems`, the entries are truncated. The system returns entries based on the value of `MaxItems` and does not return the excess entries. In this case, the value of the response parameter `IsTruncated` is `true`, and `Marker` is returned. In the next call, you can use the value of `Marker` and maintain the settings of the other request parameters to query the excess entries. You can repeat the call until the value of `IsTruncated` becomes `false`. This way, all entries are returned.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The number of entries per page.
	//
	// Valid values: 1 to 100.
	//
	// Default value: 100.
	//
	// example:
	//
	// 100
	MaxItems *int32 `json:"MaxItems,omitempty" xml:"MaxItems,omitempty"`
}

func (ListGroupsRequest) GoString

func (s ListGroupsRequest) GoString() string

func (*ListGroupsRequest) SetMarker

func (s *ListGroupsRequest) SetMarker(v string) *ListGroupsRequest

func (*ListGroupsRequest) SetMaxItems

func (s *ListGroupsRequest) SetMaxItems(v int32) *ListGroupsRequest

func (ListGroupsRequest) String

func (s ListGroupsRequest) String() string

type ListGroupsResponse

type ListGroupsResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListGroupsResponse) GoString

func (s ListGroupsResponse) GoString() string

func (*ListGroupsResponse) SetBody

func (*ListGroupsResponse) SetHeaders

func (s *ListGroupsResponse) SetHeaders(v map[string]*string) *ListGroupsResponse

func (*ListGroupsResponse) SetStatusCode

func (s *ListGroupsResponse) SetStatusCode(v int32) *ListGroupsResponse

func (ListGroupsResponse) String

func (s ListGroupsResponse) String() string

type ListGroupsResponseBody

type ListGroupsResponseBody struct {
	// The information about the RAM user groups.
	Groups *ListGroupsResponseBodyGroups `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Struct"`
	// Indicates whether the response is truncated. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results.
	//
	// >  This parameter is returned only when `IsTruncated` is `true`.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 065527AA-2F2E-AD7C-7484-F2626CFE4934
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListGroupsResponseBody) GoString

func (s ListGroupsResponseBody) GoString() string

func (*ListGroupsResponseBody) SetGroups

func (*ListGroupsResponseBody) SetIsTruncated

func (s *ListGroupsResponseBody) SetIsTruncated(v bool) *ListGroupsResponseBody

func (*ListGroupsResponseBody) SetMarker

func (*ListGroupsResponseBody) SetRequestId

func (ListGroupsResponseBody) String

func (s ListGroupsResponseBody) String() string

type ListGroupsResponseBodyGroups

type ListGroupsResponseBodyGroups struct {
	Group []*ListGroupsResponseBodyGroupsGroup `json:"Group,omitempty" xml:"Group,omitempty" type:"Repeated"`
}

func (ListGroupsResponseBodyGroups) GoString

func (s ListGroupsResponseBodyGroups) GoString() string

func (*ListGroupsResponseBodyGroups) SetGroup

func (ListGroupsResponseBodyGroups) String

type ListGroupsResponseBodyGroupsGroup

type ListGroupsResponseBodyGroupsGroup struct {
	// The description.
	//
	// example:
	//
	// Dev-Team
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The creation time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ID of the RAM user group.
	//
	// example:
	//
	// g-FpMEHiMysofp****
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The update time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (ListGroupsResponseBodyGroupsGroup) GoString

func (*ListGroupsResponseBodyGroupsGroup) SetComments

func (*ListGroupsResponseBodyGroupsGroup) SetCreateDate

func (*ListGroupsResponseBodyGroupsGroup) SetGroupId

func (*ListGroupsResponseBodyGroupsGroup) SetGroupName

func (*ListGroupsResponseBodyGroupsGroup) SetUpdateDate

func (ListGroupsResponseBodyGroupsGroup) String

type ListPoliciesForGroupRequest

type ListPoliciesForGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// dev
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
}

func (ListPoliciesForGroupRequest) GoString

func (s ListPoliciesForGroupRequest) GoString() string

func (*ListPoliciesForGroupRequest) SetGroupName

func (ListPoliciesForGroupRequest) String

type ListPoliciesForGroupResponse

type ListPoliciesForGroupResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPoliciesForGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPoliciesForGroupResponse) GoString

func (s ListPoliciesForGroupResponse) GoString() string

func (*ListPoliciesForGroupResponse) SetBody

func (*ListPoliciesForGroupResponse) SetHeaders

func (*ListPoliciesForGroupResponse) SetStatusCode

func (ListPoliciesForGroupResponse) String

type ListPoliciesForGroupResponseBody

type ListPoliciesForGroupResponseBody struct {
	// The information about the policies.
	Policies *ListPoliciesForGroupResponseBodyPolicies `json:"Policies,omitempty" xml:"Policies,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPoliciesForGroupResponseBody) GoString

func (*ListPoliciesForGroupResponseBody) SetRequestId

func (ListPoliciesForGroupResponseBody) String

type ListPoliciesForGroupResponseBodyPolicies

type ListPoliciesForGroupResponseBodyPolicies struct {
	Policy []*ListPoliciesForGroupResponseBodyPoliciesPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Repeated"`
}

func (ListPoliciesForGroupResponseBodyPolicies) GoString

func (ListPoliciesForGroupResponseBodyPolicies) String

type ListPoliciesForGroupResponseBodyPoliciesPolicy

type ListPoliciesForGroupResponseBodyPoliciesPolicy struct {
	// The time when the policy was attached to the RAM user group.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The default version of the policy.
	//
	// example:
	//
	// v1
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	//
	// example:
	//
	// OSS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListPoliciesForGroupResponseBodyPoliciesPolicy) GoString

func (*ListPoliciesForGroupResponseBodyPoliciesPolicy) SetAttachDate

func (*ListPoliciesForGroupResponseBodyPoliciesPolicy) SetDefaultVersion

func (*ListPoliciesForGroupResponseBodyPoliciesPolicy) SetDescription

func (*ListPoliciesForGroupResponseBodyPoliciesPolicy) SetPolicyName

func (*ListPoliciesForGroupResponseBodyPoliciesPolicy) SetPolicyType

func (ListPoliciesForGroupResponseBodyPoliciesPolicy) String

type ListPoliciesForRoleRequest

type ListPoliciesForRoleRequest struct {
	// The name of the RAM role.
	//
	// example:
	//
	// AdminRole
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (ListPoliciesForRoleRequest) GoString

func (s ListPoliciesForRoleRequest) GoString() string

func (*ListPoliciesForRoleRequest) SetRoleName

func (ListPoliciesForRoleRequest) String

type ListPoliciesForRoleResponse

type ListPoliciesForRoleResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPoliciesForRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPoliciesForRoleResponse) GoString

func (s ListPoliciesForRoleResponse) GoString() string

func (*ListPoliciesForRoleResponse) SetBody

func (*ListPoliciesForRoleResponse) SetHeaders

func (*ListPoliciesForRoleResponse) SetStatusCode

func (ListPoliciesForRoleResponse) String

type ListPoliciesForRoleResponseBody

type ListPoliciesForRoleResponseBody struct {
	// The information about the policies.
	Policies *ListPoliciesForRoleResponseBodyPolicies `json:"Policies,omitempty" xml:"Policies,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPoliciesForRoleResponseBody) GoString

func (*ListPoliciesForRoleResponseBody) SetRequestId

func (ListPoliciesForRoleResponseBody) String

type ListPoliciesForRoleResponseBodyPolicies

type ListPoliciesForRoleResponseBodyPolicies struct {
	Policy []*ListPoliciesForRoleResponseBodyPoliciesPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Repeated"`
}

func (ListPoliciesForRoleResponseBodyPolicies) GoString

func (ListPoliciesForRoleResponseBodyPolicies) String

type ListPoliciesForRoleResponseBodyPoliciesPolicy

type ListPoliciesForRoleResponseBodyPoliciesPolicy struct {
	// The time when the policy was attached to the RAM role.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The default version of the policy.
	//
	// example:
	//
	// v1
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	//
	// example:
	//
	// OSS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListPoliciesForRoleResponseBodyPoliciesPolicy) GoString

func (*ListPoliciesForRoleResponseBodyPoliciesPolicy) SetAttachDate

func (*ListPoliciesForRoleResponseBodyPoliciesPolicy) SetDefaultVersion

func (*ListPoliciesForRoleResponseBodyPoliciesPolicy) SetDescription

func (*ListPoliciesForRoleResponseBodyPoliciesPolicy) SetPolicyName

func (*ListPoliciesForRoleResponseBodyPoliciesPolicy) SetPolicyType

func (ListPoliciesForRoleResponseBodyPoliciesPolicy) String

type ListPoliciesForUserRequest

type ListPoliciesForUserRequest struct {
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (ListPoliciesForUserRequest) GoString

func (s ListPoliciesForUserRequest) GoString() string

func (*ListPoliciesForUserRequest) SetUserName

func (ListPoliciesForUserRequest) String

type ListPoliciesForUserResponse

type ListPoliciesForUserResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPoliciesForUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPoliciesForUserResponse) GoString

func (s ListPoliciesForUserResponse) GoString() string

func (*ListPoliciesForUserResponse) SetBody

func (*ListPoliciesForUserResponse) SetHeaders

func (*ListPoliciesForUserResponse) SetStatusCode

func (ListPoliciesForUserResponse) String

type ListPoliciesForUserResponseBody

type ListPoliciesForUserResponseBody struct {
	// The information about the policy.
	Policies *ListPoliciesForUserResponseBodyPolicies `json:"Policies,omitempty" xml:"Policies,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPoliciesForUserResponseBody) GoString

func (*ListPoliciesForUserResponseBody) SetRequestId

func (ListPoliciesForUserResponseBody) String

type ListPoliciesForUserResponseBodyPolicies

type ListPoliciesForUserResponseBodyPolicies struct {
	Policy []*ListPoliciesForUserResponseBodyPoliciesPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Repeated"`
}

func (ListPoliciesForUserResponseBodyPolicies) GoString

func (ListPoliciesForUserResponseBodyPolicies) String

type ListPoliciesForUserResponseBodyPoliciesPolicy

type ListPoliciesForUserResponseBodyPoliciesPolicy struct {
	// The time at which the policy is attached to the RAM user. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The current version.
	//
	// example:
	//
	// v1
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	//
	// example:
	//
	// OSS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// 	- System: system policy
	//
	// 	- Custom: custom policy
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListPoliciesForUserResponseBodyPoliciesPolicy) GoString

func (*ListPoliciesForUserResponseBodyPoliciesPolicy) SetAttachDate

func (*ListPoliciesForUserResponseBodyPoliciesPolicy) SetDefaultVersion

func (*ListPoliciesForUserResponseBodyPoliciesPolicy) SetDescription

func (*ListPoliciesForUserResponseBodyPoliciesPolicy) SetPolicyName

func (*ListPoliciesForUserResponseBodyPoliciesPolicy) SetPolicyType

func (ListPoliciesForUserResponseBodyPoliciesPolicy) String

type ListPoliciesRequest

type ListPoliciesRequest struct {
	// The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.
	//
	// Valid values: 1 to 1000. Default value: 100.
	//
	// example:
	//
	// 100
	MaxItems *int32 `json:"MaxItems,omitempty" xml:"MaxItems,omitempty"`
	// The type of the policies. Valid values: `System` and `Custom`. If you do not specify the parameter, all policies are returned.“
	//
	// example:
	//
	// System
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The tags.
	Tag []*ListPoliciesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListPoliciesRequest) GoString

func (s ListPoliciesRequest) GoString() string

func (*ListPoliciesRequest) SetMarker

func (*ListPoliciesRequest) SetMaxItems

func (s *ListPoliciesRequest) SetMaxItems(v int32) *ListPoliciesRequest

func (*ListPoliciesRequest) SetPolicyType

func (s *ListPoliciesRequest) SetPolicyType(v string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetTag added in v2.2.0

func (ListPoliciesRequest) String

func (s ListPoliciesRequest) String() string

type ListPoliciesRequestTag added in v2.2.0

type ListPoliciesRequestTag struct {
	// The key of the tag.
	//
	// example:
	//
	// owner
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// alice
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListPoliciesRequestTag) GoString added in v2.2.0

func (s ListPoliciesRequestTag) GoString() string

func (*ListPoliciesRequestTag) SetKey added in v2.2.0

func (*ListPoliciesRequestTag) SetValue added in v2.2.0

func (ListPoliciesRequestTag) String added in v2.2.0

func (s ListPoliciesRequestTag) String() string

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPoliciesResponse) GoString

func (s ListPoliciesResponse) GoString() string

func (*ListPoliciesResponse) SetBody

func (*ListPoliciesResponse) SetHeaders

func (s *ListPoliciesResponse) SetHeaders(v map[string]*string) *ListPoliciesResponse

func (*ListPoliciesResponse) SetStatusCode

func (s *ListPoliciesResponse) SetStatusCode(v int32) *ListPoliciesResponse

func (ListPoliciesResponse) String

func (s ListPoliciesResponse) String() string

type ListPoliciesResponseBody

type ListPoliciesResponseBody struct {
	// Indicates whether the response is truncated.
	//
	// example:
	//
	// true
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"`
	// The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set `Marker` to obtain the truncated part.“
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The information about the policies.
	Policies *ListPoliciesResponseBodyPolicies `json:"Policies,omitempty" xml:"Policies,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPoliciesResponseBody) GoString

func (s ListPoliciesResponseBody) GoString() string

func (*ListPoliciesResponseBody) SetIsTruncated

func (*ListPoliciesResponseBody) SetMarker

func (*ListPoliciesResponseBody) SetPolicies

func (*ListPoliciesResponseBody) SetRequestId

func (ListPoliciesResponseBody) String

func (s ListPoliciesResponseBody) String() string

type ListPoliciesResponseBodyPolicies

type ListPoliciesResponseBodyPolicies struct {
	Policy []*ListPoliciesResponseBodyPoliciesPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Repeated"`
}

func (ListPoliciesResponseBodyPolicies) GoString

func (ListPoliciesResponseBodyPolicies) String

type ListPoliciesResponseBodyPoliciesPolicy

type ListPoliciesResponseBodyPoliciesPolicy struct {
	// The number of references to the policy.
	//
	// example:
	//
	// 3
	AttachmentCount *int32 `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the policy was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The default version of the policy.
	//
	// example:
	//
	// v1
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	//
	// example:
	//
	// OSS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy.
	//
	// example:
	//
	// System
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The tags.
	Tags *ListPoliciesResponseBodyPoliciesPolicyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The time when the policy was modified.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (ListPoliciesResponseBodyPoliciesPolicy) GoString

func (*ListPoliciesResponseBodyPoliciesPolicy) SetAttachmentCount

func (*ListPoliciesResponseBodyPoliciesPolicy) SetCreateDate

func (*ListPoliciesResponseBodyPoliciesPolicy) SetDefaultVersion

func (*ListPoliciesResponseBodyPoliciesPolicy) SetDescription

func (*ListPoliciesResponseBodyPoliciesPolicy) SetPolicyName

func (*ListPoliciesResponseBodyPoliciesPolicy) SetPolicyType

func (*ListPoliciesResponseBodyPoliciesPolicy) SetTags added in v2.2.0

func (*ListPoliciesResponseBodyPoliciesPolicy) SetUpdateDate

func (ListPoliciesResponseBodyPoliciesPolicy) String

type ListPoliciesResponseBodyPoliciesPolicyTags added in v2.2.0

type ListPoliciesResponseBodyPoliciesPolicyTags struct {
	Tag []*ListPoliciesResponseBodyPoliciesPolicyTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListPoliciesResponseBodyPoliciesPolicyTags) GoString added in v2.2.0

func (*ListPoliciesResponseBodyPoliciesPolicyTags) SetTag added in v2.2.0

func (ListPoliciesResponseBodyPoliciesPolicyTags) String added in v2.2.0

type ListPoliciesResponseBodyPoliciesPolicyTagsTag added in v2.2.0

type ListPoliciesResponseBodyPoliciesPolicyTagsTag struct {
	// The key of the tag.
	//
	// example:
	//
	// owner
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// alice
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListPoliciesResponseBodyPoliciesPolicyTagsTag) GoString added in v2.2.0

func (*ListPoliciesResponseBodyPoliciesPolicyTagsTag) SetTagKey added in v2.2.0

func (*ListPoliciesResponseBodyPoliciesPolicyTagsTag) SetTagValue added in v2.2.0

func (ListPoliciesResponseBodyPoliciesPolicyTagsTag) String added in v2.2.0

type ListPoliciesShrinkRequest added in v2.2.0

type ListPoliciesShrinkRequest struct {
	// The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.
	//
	// Valid values: 1 to 1000. Default value: 100.
	//
	// example:
	//
	// 100
	MaxItems *int32 `json:"MaxItems,omitempty" xml:"MaxItems,omitempty"`
	// The type of the policies. Valid values: `System` and `Custom`. If you do not specify the parameter, all policies are returned.“
	//
	// example:
	//
	// System
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The tags.
	TagShrink *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (ListPoliciesShrinkRequest) GoString added in v2.2.0

func (s ListPoliciesShrinkRequest) GoString() string

func (*ListPoliciesShrinkRequest) SetMarker added in v2.2.0

func (*ListPoliciesShrinkRequest) SetMaxItems added in v2.2.0

func (*ListPoliciesShrinkRequest) SetPolicyType added in v2.2.0

func (*ListPoliciesShrinkRequest) SetTagShrink added in v2.2.0

func (ListPoliciesShrinkRequest) String added in v2.2.0

func (s ListPoliciesShrinkRequest) String() string

type ListPolicyVersionsRequest

type ListPolicyVersionsRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values: `System` and `Custom`.
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListPolicyVersionsRequest) GoString

func (s ListPolicyVersionsRequest) GoString() string

func (*ListPolicyVersionsRequest) SetPolicyName

func (*ListPolicyVersionsRequest) SetPolicyType

func (ListPolicyVersionsRequest) String

func (s ListPolicyVersionsRequest) String() string

type ListPolicyVersionsResponse

type ListPolicyVersionsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPolicyVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPolicyVersionsResponse) GoString

func (s ListPolicyVersionsResponse) GoString() string

func (*ListPolicyVersionsResponse) SetBody

func (*ListPolicyVersionsResponse) SetHeaders

func (*ListPolicyVersionsResponse) SetStatusCode

func (ListPolicyVersionsResponse) String

type ListPolicyVersionsResponseBody

type ListPolicyVersionsResponseBody struct {
	// The information about the policy versions.
	PolicyVersions *ListPolicyVersionsResponseBodyPolicyVersions `json:"PolicyVersions,omitempty" xml:"PolicyVersions,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPolicyVersionsResponseBody) GoString

func (*ListPolicyVersionsResponseBody) SetRequestId

func (ListPolicyVersionsResponseBody) String

type ListPolicyVersionsResponseBodyPolicyVersions

type ListPolicyVersionsResponseBodyPolicyVersions struct {
	PolicyVersion []*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion `json:"PolicyVersion,omitempty" xml:"PolicyVersion,omitempty" type:"Repeated"`
}

func (ListPolicyVersionsResponseBodyPolicyVersions) GoString

func (ListPolicyVersionsResponseBodyPolicyVersions) String

type ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion

type ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion struct {
	// The time when the version was created.
	//
	// example:
	//
	// 2015-02-26T01:25:52Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether the policy version is the default version.
	//
	// example:
	//
	// false
	IsDefaultVersion *bool `json:"IsDefaultVersion,omitempty" xml:"IsDefaultVersion,omitempty"`
	// The document of the policy.
	//
	// example:
	//
	// { "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The ID of the policy version.
	//
	// example:
	//
	// v3
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) GoString

func (*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) SetCreateDate

func (*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) SetIsDefaultVersion

func (*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) SetPolicyDocument

func (*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) SetVersionId

func (ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) String

type ListRolesRequest

type ListRolesRequest struct {
	// The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.
	//
	// Valid values: 1 to 1000. Default value: 100.
	//
	// example:
	//
	// 100
	MaxItems *int32 `json:"MaxItems,omitempty" xml:"MaxItems,omitempty"`
	// The tags.
	Tag []*ListRolesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListRolesRequest) GoString

func (s ListRolesRequest) GoString() string

func (*ListRolesRequest) SetMarker

func (s *ListRolesRequest) SetMarker(v string) *ListRolesRequest

func (*ListRolesRequest) SetMaxItems

func (s *ListRolesRequest) SetMaxItems(v int32) *ListRolesRequest

func (*ListRolesRequest) SetTag added in v2.2.0

func (ListRolesRequest) String

func (s ListRolesRequest) String() string

type ListRolesRequestTag added in v2.2.0

type ListRolesRequestTag struct {
	// The key of the tag.
	//
	// example:
	//
	// owner
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// alice
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListRolesRequestTag) GoString added in v2.2.0

func (s ListRolesRequestTag) GoString() string

func (*ListRolesRequestTag) SetKey added in v2.2.0

func (*ListRolesRequestTag) SetValue added in v2.2.0

func (ListRolesRequestTag) String added in v2.2.0

func (s ListRolesRequestTag) String() string

type ListRolesResponse

type ListRolesResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListRolesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListRolesResponse) GoString

func (s ListRolesResponse) GoString() string

func (*ListRolesResponse) SetBody

func (*ListRolesResponse) SetHeaders

func (s *ListRolesResponse) SetHeaders(v map[string]*string) *ListRolesResponse

func (*ListRolesResponse) SetStatusCode

func (s *ListRolesResponse) SetStatusCode(v int32) *ListRolesResponse

func (ListRolesResponse) String

func (s ListRolesResponse) String() string

type ListRolesResponseBody

type ListRolesResponseBody struct {
	// Indicates whether the response is truncated.
	//
	// example:
	//
	// true
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"`
	// The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set this parameter to obtain the truncated part.““
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM roles.
	Roles *ListRolesResponseBodyRoles `json:"Roles,omitempty" xml:"Roles,omitempty" type:"Struct"`
}

func (ListRolesResponseBody) GoString

func (s ListRolesResponseBody) GoString() string

func (*ListRolesResponseBody) SetIsTruncated

func (s *ListRolesResponseBody) SetIsTruncated(v bool) *ListRolesResponseBody

func (*ListRolesResponseBody) SetMarker

func (*ListRolesResponseBody) SetRequestId

func (*ListRolesResponseBody) SetRoles

func (ListRolesResponseBody) String

func (s ListRolesResponseBody) String() string

type ListRolesResponseBodyRoles

type ListRolesResponseBodyRoles struct {
	Role []*ListRolesResponseBodyRolesRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Repeated"`
}

func (ListRolesResponseBodyRoles) GoString

func (s ListRolesResponseBodyRoles) GoString() string

func (*ListRolesResponseBodyRoles) SetRole

func (ListRolesResponseBodyRoles) String

type ListRolesResponseBodyRolesRole

type ListRolesResponseBodyRolesRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	//
	// example:
	//
	// acs:ram::123456789012****:role/ECSAdmin
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The creation time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	//
	// example:
	//
	// ECS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session duration of the RAM role.
	//
	// example:
	//
	// 3600
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	//
	// example:
	//
	// 901234567890****
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The tags.
	Tags *ListRolesResponseBodyRolesRoleTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The update time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (ListRolesResponseBodyRolesRole) GoString

func (*ListRolesResponseBodyRolesRole) SetArn

func (*ListRolesResponseBodyRolesRole) SetCreateDate

func (*ListRolesResponseBodyRolesRole) SetDescription

func (*ListRolesResponseBodyRolesRole) SetMaxSessionDuration

func (*ListRolesResponseBodyRolesRole) SetRoleId

func (*ListRolesResponseBodyRolesRole) SetRoleName

func (*ListRolesResponseBodyRolesRole) SetTags added in v2.2.0

func (*ListRolesResponseBodyRolesRole) SetUpdateDate

func (ListRolesResponseBodyRolesRole) String

type ListRolesResponseBodyRolesRoleTags added in v2.2.0

type ListRolesResponseBodyRolesRoleTags struct {
	Tag []*ListRolesResponseBodyRolesRoleTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListRolesResponseBodyRolesRoleTags) GoString added in v2.2.0

func (*ListRolesResponseBodyRolesRoleTags) SetTag added in v2.2.0

func (ListRolesResponseBodyRolesRoleTags) String added in v2.2.0

type ListRolesResponseBodyRolesRoleTagsTag added in v2.2.0

type ListRolesResponseBodyRolesRoleTagsTag struct {
	// The key of the tag.
	//
	// example:
	//
	// owner
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// alice
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListRolesResponseBodyRolesRoleTagsTag) GoString added in v2.2.0

func (*ListRolesResponseBodyRolesRoleTagsTag) SetTagKey added in v2.2.0

func (*ListRolesResponseBodyRolesRoleTagsTag) SetTagValue added in v2.2.0

func (ListRolesResponseBodyRolesRoleTagsTag) String added in v2.2.0

type ListRolesShrinkRequest added in v2.2.0

type ListRolesShrinkRequest struct {
	// The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.
	//
	// Valid values: 1 to 1000. Default value: 100.
	//
	// example:
	//
	// 100
	MaxItems *int32 `json:"MaxItems,omitempty" xml:"MaxItems,omitempty"`
	// The tags.
	TagShrink *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (ListRolesShrinkRequest) GoString added in v2.2.0

func (s ListRolesShrinkRequest) GoString() string

func (*ListRolesShrinkRequest) SetMarker added in v2.2.0

func (*ListRolesShrinkRequest) SetMaxItems added in v2.2.0

func (*ListRolesShrinkRequest) SetTagShrink added in v2.2.0

func (ListRolesShrinkRequest) String added in v2.2.0

func (s ListRolesShrinkRequest) String() string

type ListTagResourcesRequest added in v2.2.0

type ListTagResourcesRequest struct {
	// The pagination token that is used in the next request to retrieve a new page of results.
	//
	// example:
	//
	// GY/oWREsOP1bPHGcHGrXfYX7UG1k9KqWFYThNDPx1UX26PbWOIu2CMqqiMr68H/K
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The number of entries per page. Valid values: 1 to 100.
	//
	// example:
	//
	// 100
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The names of the resources. You can specify up to 50 resource names.
	ResourceNames []*string `json:"ResourceNames,omitempty" xml:"ResourceNames,omitempty" type:"Repeated"`
	// The resource type.
	//
	// Enumerated values:
	//
	// 	- role
	//
	// 	- policy
	//
	// example:
	//
	// role
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags. You can specify up to 20 tags.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString added in v2.2.0

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetNextToken added in v2.2.0

func (*ListTagResourcesRequest) SetPageSize added in v2.2.0

func (*ListTagResourcesRequest) SetResourceNames added in v2.2.0

func (s *ListTagResourcesRequest) SetResourceNames(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType added in v2.2.0

func (*ListTagResourcesRequest) SetTag added in v2.2.0

func (ListTagResourcesRequest) String added in v2.2.0

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag added in v2.2.0

type ListTagResourcesRequestTag struct {
	// The key of the tag. The tag key can be up to 128 characters in length.
	//
	// example:
	//
	// t1
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag. The tag value can be up to 256 characters in length.
	//
	// example:
	//
	// v1
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString added in v2.2.0

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey added in v2.2.0

func (*ListTagResourcesRequestTag) SetValue added in v2.2.0

func (ListTagResourcesRequestTag) String added in v2.2.0

type ListTagResourcesResponse added in v2.2.0

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagResourcesResponse) GoString added in v2.2.0

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody added in v2.2.0

func (*ListTagResourcesResponse) SetHeaders added in v2.2.0

func (*ListTagResourcesResponse) SetStatusCode added in v2.2.0

func (ListTagResourcesResponse) String added in v2.2.0

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody added in v2.2.0

type ListTagResourcesResponseBody struct {
	// A pagination token. It can be used in the next request to retrieve a new page of results.
	//
	// example:
	//
	// GY/oWREsOP1bPHGcHGrXfYX7UG1k9KqWFYThNDPx1UX26PbWOIu2CMqqiMr68H/K
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 5CCE804C-6450-49A7-B1DB-2460F7A97416
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The tags that are added to the resources.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBody) GoString added in v2.2.0

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken added in v2.2.0

func (*ListTagResourcesResponseBody) SetRequestId added in v2.2.0

func (*ListTagResourcesResponseBody) SetTagResources added in v2.2.0

func (ListTagResourcesResponseBody) String added in v2.2.0

type ListTagResourcesResponseBodyTagResources added in v2.2.0

type ListTagResourcesResponseBodyTagResources struct {
	// The name of the resource.
	//
	// example:
	//
	// role1
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The resource type.
	//
	// example:
	//
	// role
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The key of the tag.
	//
	// example:
	//
	// t1
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// v1
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResources) GoString added in v2.2.0

func (*ListTagResourcesResponseBodyTagResources) SetResourceName added in v2.2.0

func (*ListTagResourcesResponseBodyTagResources) SetResourceType added in v2.2.0

func (*ListTagResourcesResponseBodyTagResources) SetTagKey added in v2.2.0

func (*ListTagResourcesResponseBodyTagResources) SetTagValue added in v2.2.0

func (ListTagResourcesResponseBodyTagResources) String added in v2.2.0

type ListTagResourcesShrinkRequest added in v2.2.0

type ListTagResourcesShrinkRequest struct {
	// The pagination token that is used in the next request to retrieve a new page of results.
	//
	// example:
	//
	// GY/oWREsOP1bPHGcHGrXfYX7UG1k9KqWFYThNDPx1UX26PbWOIu2CMqqiMr68H/K
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The number of entries per page. Valid values: 1 to 100.
	//
	// example:
	//
	// 100
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The names of the resources. You can specify up to 50 resource names.
	ResourceNamesShrink *string `json:"ResourceNames,omitempty" xml:"ResourceNames,omitempty"`
	// The resource type.
	//
	// Enumerated values:
	//
	// 	- role
	//
	// 	- policy
	//
	// example:
	//
	// role
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags. You can specify up to 20 tags.
	TagShrink *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (ListTagResourcesShrinkRequest) GoString added in v2.2.0

func (*ListTagResourcesShrinkRequest) SetNextToken added in v2.2.0

func (*ListTagResourcesShrinkRequest) SetPageSize added in v2.2.0

func (*ListTagResourcesShrinkRequest) SetResourceNamesShrink added in v2.2.0

func (*ListTagResourcesShrinkRequest) SetResourceType added in v2.2.0

func (*ListTagResourcesShrinkRequest) SetTagShrink added in v2.2.0

func (ListTagResourcesShrinkRequest) String added in v2.2.0

type ListUsersForGroupRequest

type ListUsersForGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.
	//
	// Valid values: 1 to 1000. Default value: 100.
	//
	// example:
	//
	// 100
	MaxItems *int32 `json:"MaxItems,omitempty" xml:"MaxItems,omitempty"`
}

func (ListUsersForGroupRequest) GoString

func (s ListUsersForGroupRequest) GoString() string

func (*ListUsersForGroupRequest) SetGroupName

func (*ListUsersForGroupRequest) SetMarker

func (*ListUsersForGroupRequest) SetMaxItems

func (ListUsersForGroupRequest) String

func (s ListUsersForGroupRequest) String() string

type ListUsersForGroupResponse

type ListUsersForGroupResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListUsersForGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListUsersForGroupResponse) GoString

func (s ListUsersForGroupResponse) GoString() string

func (*ListUsersForGroupResponse) SetBody

func (*ListUsersForGroupResponse) SetHeaders

func (*ListUsersForGroupResponse) SetStatusCode

func (ListUsersForGroupResponse) String

func (s ListUsersForGroupResponse) String() string

type ListUsersForGroupResponseBody

type ListUsersForGroupResponseBody struct {
	// Indicates whether the response is truncated.
	//
	// example:
	//
	// true
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"`
	// The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set this parameter to obtain the truncated part.““
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 4B450CA1-36E8-4AA2-8461-86B42BF4CC4E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM users.
	Users *ListUsersForGroupResponseBodyUsers `json:"Users,omitempty" xml:"Users,omitempty" type:"Struct"`
}

func (ListUsersForGroupResponseBody) GoString

func (*ListUsersForGroupResponseBody) SetIsTruncated

func (*ListUsersForGroupResponseBody) SetMarker

func (*ListUsersForGroupResponseBody) SetRequestId

func (*ListUsersForGroupResponseBody) SetUsers

func (ListUsersForGroupResponseBody) String

type ListUsersForGroupResponseBodyUsers

type ListUsersForGroupResponseBodyUsers struct {
	User []*ListUsersForGroupResponseBodyUsersUser `json:"User,omitempty" xml:"User,omitempty" type:"Repeated"`
}

func (ListUsersForGroupResponseBodyUsers) GoString

func (ListUsersForGroupResponseBodyUsers) String

type ListUsersForGroupResponseBodyUsersUser

type ListUsersForGroupResponseBodyUsersUser struct {
	// The display name of the RAM user.
	//
	// example:
	//
	// Alice
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The time when the RAM user joined the RAM user group.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	JoinDate *string `json:"JoinDate,omitempty" xml:"JoinDate,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangqiang
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (ListUsersForGroupResponseBodyUsersUser) GoString

func (*ListUsersForGroupResponseBodyUsersUser) SetDisplayName

func (*ListUsersForGroupResponseBodyUsersUser) SetJoinDate

func (*ListUsersForGroupResponseBodyUsersUser) SetUserName

func (ListUsersForGroupResponseBodyUsersUser) String

type ListUsersRequest

type ListUsersRequest struct {
	// The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The number of entries per page. If a response is truncated because it reaches the value of MaxItems, the value of `IsTruncatedg` will be `true`.
	//
	// Valid values: 1 to 1000. Default value: 100.
	//
	// example:
	//
	// 100
	MaxItems *int32 `json:"MaxItems,omitempty" xml:"MaxItems,omitempty"`
}

func (ListUsersRequest) GoString

func (s ListUsersRequest) GoString() string

func (*ListUsersRequest) SetMarker

func (s *ListUsersRequest) SetMarker(v string) *ListUsersRequest

func (*ListUsersRequest) SetMaxItems

func (s *ListUsersRequest) SetMaxItems(v int32) *ListUsersRequest

func (ListUsersRequest) String

func (s ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListUsersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListUsersResponse) GoString

func (s ListUsersResponse) GoString() string

func (*ListUsersResponse) SetBody

func (*ListUsersResponse) SetHeaders

func (s *ListUsersResponse) SetHeaders(v map[string]*string) *ListUsersResponse

func (*ListUsersResponse) SetStatusCode

func (s *ListUsersResponse) SetStatusCode(v int32) *ListUsersResponse

func (ListUsersResponse) String

func (s ListUsersResponse) String() string

type ListUsersResponseBody

type ListUsersResponseBody struct {
	// Indicates whether the response is truncated.
	//
	// example:
	//
	// true
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"`
	// The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set `Marker` to obtain the truncated part.“
	//
	// example:
	//
	// EXAMPLE
	Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 4B450CA1-36E8-4AA2-8461-86B42BF4CC4E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The RAM users.
	Users *ListUsersResponseBodyUsers `json:"Users,omitempty" xml:"Users,omitempty" type:"Struct"`
}

func (ListUsersResponseBody) GoString

func (s ListUsersResponseBody) GoString() string

func (*ListUsersResponseBody) SetIsTruncated

func (s *ListUsersResponseBody) SetIsTruncated(v bool) *ListUsersResponseBody

func (*ListUsersResponseBody) SetMarker

func (*ListUsersResponseBody) SetRequestId

func (*ListUsersResponseBody) SetUsers

func (ListUsersResponseBody) String

func (s ListUsersResponseBody) String() string

type ListUsersResponseBodyUsers

type ListUsersResponseBodyUsers struct {
	User []*ListUsersResponseBodyUsersUser `json:"User,omitempty" xml:"User,omitempty" type:"Repeated"`
}

func (ListUsersResponseBodyUsers) GoString

func (s ListUsersResponseBodyUsers) GoString() string

func (*ListUsersResponseBodyUsers) SetUser

func (ListUsersResponseBodyUsers) String

type ListUsersResponseBodyUsersUser

type ListUsersResponseBodyUsersUser struct {
	// The description.
	//
	// example:
	//
	// Cloud computing engineer
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The time when the RAM user was created. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the RAM user.
	//
	// example:
	//
	// Zhangq****
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The email address of the RAM user.
	//
	// > This parameter is unavailable.
	//
	// example:
	//
	// zhangq****@example.com
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// The mobile phone number of the RAM user.
	//
	// > This parameter is unavailable.
	//
	// example:
	//
	// 86-1860000****
	MobilePhone *string `json:"MobilePhone,omitempty" xml:"MobilePhone,omitempty"`
	// The point in time when the information about the RAM user was last modified. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
	// The ID of the RAM user.
	//
	// example:
	//
	// 122748924538****
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// The logon name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (ListUsersResponseBodyUsersUser) GoString

func (*ListUsersResponseBodyUsersUser) SetComments

func (*ListUsersResponseBodyUsersUser) SetCreateDate

func (*ListUsersResponseBodyUsersUser) SetDisplayName

func (*ListUsersResponseBodyUsersUser) SetEmail

func (*ListUsersResponseBodyUsersUser) SetMobilePhone

func (*ListUsersResponseBodyUsersUser) SetUpdateDate

func (*ListUsersResponseBodyUsersUser) SetUserId

func (*ListUsersResponseBodyUsersUser) SetUserName

func (ListUsersResponseBodyUsersUser) String

type ListVirtualMFADevicesResponse

type ListVirtualMFADevicesResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListVirtualMFADevicesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListVirtualMFADevicesResponse) GoString

func (*ListVirtualMFADevicesResponse) SetBody

func (*ListVirtualMFADevicesResponse) SetHeaders

func (*ListVirtualMFADevicesResponse) SetStatusCode

func (ListVirtualMFADevicesResponse) String

type ListVirtualMFADevicesResponseBody

type ListVirtualMFADevicesResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the MFA devices.
	VirtualMFADevices *ListVirtualMFADevicesResponseBodyVirtualMFADevices `json:"VirtualMFADevices,omitempty" xml:"VirtualMFADevices,omitempty" type:"Struct"`
}

func (ListVirtualMFADevicesResponseBody) GoString

func (*ListVirtualMFADevicesResponseBody) SetRequestId

func (ListVirtualMFADevicesResponseBody) String

type ListVirtualMFADevicesResponseBodyVirtualMFADevices

type ListVirtualMFADevicesResponseBodyVirtualMFADevices struct {
	VirtualMFADevice []*ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADevice `json:"VirtualMFADevice,omitempty" xml:"VirtualMFADevice,omitempty" type:"Repeated"`
}

func (ListVirtualMFADevicesResponseBodyVirtualMFADevices) GoString

func (ListVirtualMFADevicesResponseBodyVirtualMFADevices) String

type ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADevice

type ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADevice struct {
	// The time when the MFA device was enabled.
	//
	// example:
	//
	// 2015-02-18T17:22:08Z
	ActivateDate *string `json:"ActivateDate,omitempty" xml:"ActivateDate,omitempty"`
	// The serial number of the MFA device.
	//
	// example:
	//
	// acs:ram::123456789012****:mfa/device002
	SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"`
	// The basic information about the Resource Access Management (RAM) user to which the MFA device is bound.
	User *ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser `json:"User,omitempty" xml:"User,omitempty" type:"Struct"`
}

func (ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADevice) GoString

func (*ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADevice) SetActivateDate

func (*ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADevice) SetSerialNumber

func (ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADevice) String

type ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser

type ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser struct {
	// The display name of the RAM user.
	//
	// example:
	//
	// zhangq****
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The unique ID of the RAM user.
	//
	// example:
	//
	// 122748924538****
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser) GoString

func (*ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser) SetDisplayName

func (*ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser) SetUserId

func (*ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser) SetUserName

func (ListVirtualMFADevicesResponseBodyVirtualMFADevicesVirtualMFADeviceUser) String

type RemoveUserFromGroupRequest

type RemoveUserFromGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (RemoveUserFromGroupRequest) GoString

func (s RemoveUserFromGroupRequest) GoString() string

func (*RemoveUserFromGroupRequest) SetGroupName

func (*RemoveUserFromGroupRequest) SetUserName

func (RemoveUserFromGroupRequest) String

type RemoveUserFromGroupResponse

type RemoveUserFromGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RemoveUserFromGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RemoveUserFromGroupResponse) GoString

func (s RemoveUserFromGroupResponse) GoString() string

func (*RemoveUserFromGroupResponse) SetBody

func (*RemoveUserFromGroupResponse) SetHeaders

func (*RemoveUserFromGroupResponse) SetStatusCode

func (RemoveUserFromGroupResponse) String

type RemoveUserFromGroupResponseBody

type RemoveUserFromGroupResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// A07EF215-B9B3-8CB2-2899-3F9575C6E320
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RemoveUserFromGroupResponseBody) GoString

func (*RemoveUserFromGroupResponseBody) SetRequestId

func (RemoveUserFromGroupResponseBody) String

type SetAccountAliasRequest

type SetAccountAliasRequest struct {
	// The alias of the Alibaba Cloud account.
	//
	// The alias must be 3 to 32 characters in length, and can contain lowercase letters, digits, and hyphens (-).
	//
	// >  It cannot start or end with a hyphen (-), and cannot contain consecutive hyphens (-).
	//
	// example:
	//
	// myalias
	AccountAlias *string `json:"AccountAlias,omitempty" xml:"AccountAlias,omitempty"`
}

func (SetAccountAliasRequest) GoString

func (s SetAccountAliasRequest) GoString() string

func (*SetAccountAliasRequest) SetAccountAlias

func (s *SetAccountAliasRequest) SetAccountAlias(v string) *SetAccountAliasRequest

func (SetAccountAliasRequest) String

func (s SetAccountAliasRequest) String() string

type SetAccountAliasResponse

type SetAccountAliasResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SetAccountAliasResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SetAccountAliasResponse) GoString

func (s SetAccountAliasResponse) GoString() string

func (*SetAccountAliasResponse) SetBody

func (*SetAccountAliasResponse) SetHeaders

func (*SetAccountAliasResponse) SetStatusCode

func (SetAccountAliasResponse) String

func (s SetAccountAliasResponse) String() string

type SetAccountAliasResponseBody

type SetAccountAliasResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SetAccountAliasResponseBody) GoString

func (s SetAccountAliasResponseBody) GoString() string

func (*SetAccountAliasResponseBody) SetRequestId

func (SetAccountAliasResponseBody) String

type SetDefaultPolicyVersionRequest

type SetDefaultPolicyVersionRequest struct {
	// The name of the policy.
	//
	// example:
	//
	// OSS-Administrator
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The ID of the policy version that you want to set as the default version.
	//
	// example:
	//
	// v2
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (SetDefaultPolicyVersionRequest) GoString

func (*SetDefaultPolicyVersionRequest) SetPolicyName

func (*SetDefaultPolicyVersionRequest) SetVersionId

func (SetDefaultPolicyVersionRequest) String

type SetDefaultPolicyVersionResponse

type SetDefaultPolicyVersionResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SetDefaultPolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SetDefaultPolicyVersionResponse) GoString

func (*SetDefaultPolicyVersionResponse) SetHeaders

func (*SetDefaultPolicyVersionResponse) SetStatusCode

func (SetDefaultPolicyVersionResponse) String

type SetDefaultPolicyVersionResponseBody

type SetDefaultPolicyVersionResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 9B34724D-54B0-4A51-B34D-4512372FE1BE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SetDefaultPolicyVersionResponseBody) GoString

func (*SetDefaultPolicyVersionResponseBody) SetRequestId

func (SetDefaultPolicyVersionResponseBody) String

type SetPasswordPolicyRequest

type SetPasswordPolicyRequest struct {
	// Specifies whether a password will expire. Valid values: `true` and `false`. Default value: `false`. If you leave this parameter unspecified, the default value false is used.
	//
	// 	- If you set this parameter to `true`, the Alibaba Cloud account to which the RAM users belong must reset the passwords before the RAM users can log on to the Alibaba Cloud Management Console.
	//
	// 	- If you set this parameter to `false`, the RAM users can change the passwords after the passwords expire and then log on to the Alibaba Cloud Management Console.
	//
	// example:
	//
	// false
	HardExpiry *bool `json:"HardExpiry,omitempty" xml:"HardExpiry,omitempty"`
	// The maximum number of permitted logon attempts within one hour. The number of logon attempts is reset to zero if a RAM user changes the password.
	//
	// example:
	//
	// 5
	MaxLoginAttemps *int32 `json:"MaxLoginAttemps,omitempty" xml:"MaxLoginAttemps,omitempty"`
	// The number of days for which a password is valid. If you reset a password, the password validity period restarts. Default value: 0. The default value indicates that the password never expires.
	//
	// example:
	//
	// 0
	MaxPasswordAge *int32 `json:"MaxPasswordAge,omitempty" xml:"MaxPasswordAge,omitempty"`
	// The minimum number of characters in a password.
	//
	// Valid values: 8 to 32. Default value: 8.
	//
	// example:
	//
	// 12
	MinimumPasswordLength *int32 `json:"MinimumPasswordLength,omitempty" xml:"MinimumPasswordLength,omitempty"`
	// The number of previous passwords that a RAM user is prevented from reusing. Default value: 0. The default value indicates that the RAM user can reuse previous passwords.
	//
	// example:
	//
	// 0
	PasswordReusePrevention *int32 `json:"PasswordReusePrevention,omitempty" xml:"PasswordReusePrevention,omitempty"`
	// Specifies whether a password must contain one or more lowercase letters.
	//
	// example:
	//
	// true
	RequireLowercaseCharacters *bool `json:"RequireLowercaseCharacters,omitempty" xml:"RequireLowercaseCharacters,omitempty"`
	// Specifies whether a password must contain one or more digits.
	//
	// example:
	//
	// true
	RequireNumbers *bool `json:"RequireNumbers,omitempty" xml:"RequireNumbers,omitempty"`
	// Specifies whether a password must contain one or more special characters.
	//
	// example:
	//
	// true
	RequireSymbols *bool `json:"RequireSymbols,omitempty" xml:"RequireSymbols,omitempty"`
	// Specifies whether a password must contain one or more uppercase letters.
	//
	// example:
	//
	// true
	RequireUppercaseCharacters *bool `json:"RequireUppercaseCharacters,omitempty" xml:"RequireUppercaseCharacters,omitempty"`
}

func (SetPasswordPolicyRequest) GoString

func (s SetPasswordPolicyRequest) GoString() string

func (*SetPasswordPolicyRequest) SetHardExpiry

func (*SetPasswordPolicyRequest) SetMaxLoginAttemps

func (s *SetPasswordPolicyRequest) SetMaxLoginAttemps(v int32) *SetPasswordPolicyRequest

func (*SetPasswordPolicyRequest) SetMaxPasswordAge

func (s *SetPasswordPolicyRequest) SetMaxPasswordAge(v int32) *SetPasswordPolicyRequest

func (*SetPasswordPolicyRequest) SetMinimumPasswordLength

func (s *SetPasswordPolicyRequest) SetMinimumPasswordLength(v int32) *SetPasswordPolicyRequest

func (*SetPasswordPolicyRequest) SetPasswordReusePrevention

func (s *SetPasswordPolicyRequest) SetPasswordReusePrevention(v int32) *SetPasswordPolicyRequest

func (*SetPasswordPolicyRequest) SetRequireLowercaseCharacters

func (s *SetPasswordPolicyRequest) SetRequireLowercaseCharacters(v bool) *SetPasswordPolicyRequest

func (*SetPasswordPolicyRequest) SetRequireNumbers

func (s *SetPasswordPolicyRequest) SetRequireNumbers(v bool) *SetPasswordPolicyRequest

func (*SetPasswordPolicyRequest) SetRequireSymbols

func (s *SetPasswordPolicyRequest) SetRequireSymbols(v bool) *SetPasswordPolicyRequest

func (*SetPasswordPolicyRequest) SetRequireUppercaseCharacters

func (s *SetPasswordPolicyRequest) SetRequireUppercaseCharacters(v bool) *SetPasswordPolicyRequest

func (SetPasswordPolicyRequest) String

func (s SetPasswordPolicyRequest) String() string

type SetPasswordPolicyResponse

type SetPasswordPolicyResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SetPasswordPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SetPasswordPolicyResponse) GoString

func (s SetPasswordPolicyResponse) GoString() string

func (*SetPasswordPolicyResponse) SetBody

func (*SetPasswordPolicyResponse) SetHeaders

func (*SetPasswordPolicyResponse) SetStatusCode

func (SetPasswordPolicyResponse) String

func (s SetPasswordPolicyResponse) String() string

type SetPasswordPolicyResponseBody

type SetPasswordPolicyResponseBody struct {
	// The password policy.
	PasswordPolicy *SetPasswordPolicyResponseBodyPasswordPolicy `json:"PasswordPolicy,omitempty" xml:"PasswordPolicy,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SetPasswordPolicyResponseBody) GoString

func (*SetPasswordPolicyResponseBody) SetRequestId

func (SetPasswordPolicyResponseBody) String

type SetPasswordPolicyResponseBodyPasswordPolicy

type SetPasswordPolicyResponseBodyPasswordPolicy struct {
	// Indicates whether a password expires. Valid values: `true` and `false`. Default value: `false`. If the parameter is unspecified, the default value false is returned.
	//
	// 	- If this parameter is set to `true`, the Alibaba Cloud account to which the RAM users belong must reset the password before the RAM users can log on to the Alibaba Cloud Management Console.
	//
	// 	- If this parameter is set to `false`, the RAM users can change the passwords after the passwords expire and then log on to the Alibaba Cloud Management Console.
	//
	// example:
	//
	// false
	HardExpiry *bool `json:"HardExpiry,omitempty" xml:"HardExpiry,omitempty"`
	// The maximum number of permitted logon attempts within one hour. The number of logon attempts is reset to zero if a RAM user changes the password.
	//
	// example:
	//
	// 5
	MaxLoginAttemps *int32 `json:"MaxLoginAttemps,omitempty" xml:"MaxLoginAttemps,omitempty"`
	// The number of days for which a password is valid. If you reset a password, the password validity period restarts. Default value: 0. The default value indicates that the password never expires.
	//
	// example:
	//
	// 0
	MaxPasswordAge *int32 `json:"MaxPasswordAge,omitempty" xml:"MaxPasswordAge,omitempty"`
	// The minimum number of characters in a password.
	//
	// example:
	//
	// 12
	MinimumPasswordLength *int32 `json:"MinimumPasswordLength,omitempty" xml:"MinimumPasswordLength,omitempty"`
	// The number of previous passwords that a RAM user is prevented from reusing. Default value: 0. The default value indicates that the RAM user can reuse previous passwords.
	//
	// example:
	//
	// 0
	PasswordReusePrevention *int32 `json:"PasswordReusePrevention,omitempty" xml:"PasswordReusePrevention,omitempty"`
	// Indicates whether a password must contain one or more lowercase letters.
	//
	// example:
	//
	// true
	RequireLowercaseCharacters *bool `json:"RequireLowercaseCharacters,omitempty" xml:"RequireLowercaseCharacters,omitempty"`
	// Indicates whether a password must contain one or more digits.
	//
	// example:
	//
	// true
	RequireNumbers *bool `json:"RequireNumbers,omitempty" xml:"RequireNumbers,omitempty"`
	// Indicates whether a password must contain one or more special characters.
	//
	// example:
	//
	// true
	RequireSymbols *bool `json:"RequireSymbols,omitempty" xml:"RequireSymbols,omitempty"`
	// Indicates whether a password must contain one or more uppercase letters.
	//
	// example:
	//
	// true
	RequireUppercaseCharacters *bool `json:"RequireUppercaseCharacters,omitempty" xml:"RequireUppercaseCharacters,omitempty"`
}

func (SetPasswordPolicyResponseBodyPasswordPolicy) GoString

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetHardExpiry

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetMaxLoginAttemps

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetMaxPasswordAge

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetMinimumPasswordLength

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetPasswordReusePrevention

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetRequireLowercaseCharacters

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetRequireNumbers

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetRequireSymbols

func (*SetPasswordPolicyResponseBodyPasswordPolicy) SetRequireUppercaseCharacters

func (SetPasswordPolicyResponseBodyPasswordPolicy) String

type SetSecurityPreferenceRequest

type SetSecurityPreferenceRequest struct {
	// Specifies whether RAM users can change their passwords. Valid values:
	//
	// 	- true (default)
	//
	// 	- false
	//
	// example:
	//
	// true
	AllowUserToChangePassword *bool `json:"AllowUserToChangePassword,omitempty" xml:"AllowUserToChangePassword,omitempty"`
	// Specifies whether RAM users can manage their AccessKey pairs. Valid values:
	//
	// 	- true
	//
	// 	- false (default)
	//
	// example:
	//
	// false
	AllowUserToManageAccessKeys *bool `json:"AllowUserToManageAccessKeys,omitempty" xml:"AllowUserToManageAccessKeys,omitempty"`
	// Specifies whether RAM users can manage their MFA devices. Valid values:
	//
	// 	- true (default)
	//
	// 	- false
	//
	// example:
	//
	// true
	AllowUserToManageMFADevices *bool `json:"AllowUserToManageMFADevices,omitempty" xml:"AllowUserToManageMFADevices,omitempty"`
	// Specifies whether RAM users can manage their public keys. Valid values:
	//
	// 	- true
	//
	// 	- false (default)
	//
	// >  This parameter is valid only for the Japan site.
	//
	// example:
	//
	// false
	AllowUserToManagePublicKeys *bool `json:"AllowUserToManagePublicKeys,omitempty" xml:"AllowUserToManagePublicKeys,omitempty"`
	// Specifies whether to remember the multi-factor authentication (MFA) devices of Resource Access Management (RAM) users for seven days. Valid values:
	//
	// 	- true
	//
	// 	- false (default)
	//
	// example:
	//
	// true
	EnableSaveMFATicket *bool `json:"EnableSaveMFATicket,omitempty" xml:"EnableSaveMFATicket,omitempty"`
	// The subnet mask that specifies the IP addresses from which you can log on to the Alibaba Cloud Management Console. This parameter takes effect on password-based logon and single sign-on (SSO). However, this parameter does not take effect on API calls that are authenticated by using AccessKey pairs.
	//
	// 	- If you specify a subnet mask, RAM users can use only the IP addresses in the subnet mask to log on to the Alibaba Cloud Management Console.
	//
	// 	- If you do not specify a subnet mask, RAM users can use all IP addresses to log on to the Alibaba Cloud Management Console.
	//
	// If you need to specify multiple subnet masks, separate the subnet masks with semicolons (;). Example: 192.168.0.0/16;10.0.0.0/8.
	//
	// You can specify up to 40 subnet masks. The total length of the subnet masks can be a maximum of 512 characters.
	//
	// example:
	//
	// 10.0.0.0/8
	LoginNetworkMasks *string `json:"LoginNetworkMasks,omitempty" xml:"LoginNetworkMasks,omitempty"`
	// The validity period of the logon session of RAM users.
	//
	// Valid values: 1 to 24. Default value: 6. Unit: hours.
	//
	// example:
	//
	// 6
	LoginSessionDuration *int32 `json:"LoginSessionDuration,omitempty" xml:"LoginSessionDuration,omitempty"`
}

func (SetSecurityPreferenceRequest) GoString

func (s SetSecurityPreferenceRequest) GoString() string

func (*SetSecurityPreferenceRequest) SetAllowUserToChangePassword

func (s *SetSecurityPreferenceRequest) SetAllowUserToChangePassword(v bool) *SetSecurityPreferenceRequest

func (*SetSecurityPreferenceRequest) SetAllowUserToManageAccessKeys

func (s *SetSecurityPreferenceRequest) SetAllowUserToManageAccessKeys(v bool) *SetSecurityPreferenceRequest

func (*SetSecurityPreferenceRequest) SetAllowUserToManageMFADevices

func (s *SetSecurityPreferenceRequest) SetAllowUserToManageMFADevices(v bool) *SetSecurityPreferenceRequest

func (*SetSecurityPreferenceRequest) SetAllowUserToManagePublicKeys

func (s *SetSecurityPreferenceRequest) SetAllowUserToManagePublicKeys(v bool) *SetSecurityPreferenceRequest

func (*SetSecurityPreferenceRequest) SetEnableSaveMFATicket

func (s *SetSecurityPreferenceRequest) SetEnableSaveMFATicket(v bool) *SetSecurityPreferenceRequest

func (*SetSecurityPreferenceRequest) SetLoginNetworkMasks

func (*SetSecurityPreferenceRequest) SetLoginSessionDuration

func (s *SetSecurityPreferenceRequest) SetLoginSessionDuration(v int32) *SetSecurityPreferenceRequest

func (SetSecurityPreferenceRequest) String

type SetSecurityPreferenceResponse

type SetSecurityPreferenceResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SetSecurityPreferenceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SetSecurityPreferenceResponse) GoString

func (*SetSecurityPreferenceResponse) SetBody

func (*SetSecurityPreferenceResponse) SetHeaders

func (*SetSecurityPreferenceResponse) SetStatusCode

func (SetSecurityPreferenceResponse) String

type SetSecurityPreferenceResponseBody

type SetSecurityPreferenceResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// A978915D-F279-4CA0-A89B-9A71219FFB3E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The security preferences.
	SecurityPreference *SetSecurityPreferenceResponseBodySecurityPreference `json:"SecurityPreference,omitempty" xml:"SecurityPreference,omitempty" type:"Struct"`
}

func (SetSecurityPreferenceResponseBody) GoString

func (*SetSecurityPreferenceResponseBody) SetRequestId

func (SetSecurityPreferenceResponseBody) String

type SetSecurityPreferenceResponseBodySecurityPreference

type SetSecurityPreferenceResponseBodySecurityPreference struct {
	// The AccessKey pair preference.
	AccessKeyPreference *SetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference `json:"AccessKeyPreference,omitempty" xml:"AccessKeyPreference,omitempty" type:"Struct"`
	// The logon preference.
	LoginProfilePreference *SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference `json:"LoginProfilePreference,omitempty" xml:"LoginProfilePreference,omitempty" type:"Struct"`
	// The MFA preference.
	MFAPreference *SetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference `json:"MFAPreference,omitempty" xml:"MFAPreference,omitempty" type:"Struct"`
	// The public key preference.
	//
	// >  This parameter is valid only for the Japan site.
	PublicKeyPreference *SetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference `json:"PublicKeyPreference,omitempty" xml:"PublicKeyPreference,omitempty" type:"Struct"`
}

func (SetSecurityPreferenceResponseBodySecurityPreference) GoString

func (SetSecurityPreferenceResponseBodySecurityPreference) String

type SetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference

type SetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference struct {
	// Indicates whether RAM users can manage their AccessKey pairs.
	//
	// example:
	//
	// false
	AllowUserToManageAccessKeys *bool `json:"AllowUserToManageAccessKeys,omitempty" xml:"AllowUserToManageAccessKeys,omitempty"`
}

func (SetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference) GoString

func (*SetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference) SetAllowUserToManageAccessKeys

func (SetSecurityPreferenceResponseBodySecurityPreferenceAccessKeyPreference) String

type SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference

type SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference struct {
	// Indicates whether RAM users can change their passwords.
	//
	// example:
	//
	// true
	AllowUserToChangePassword *bool `json:"AllowUserToChangePassword,omitempty" xml:"AllowUserToChangePassword,omitempty"`
	// Indicates whether the MFA devices of RAM users are remembered.
	//
	// example:
	//
	// false
	EnableSaveMFATicket *bool `json:"EnableSaveMFATicket,omitempty" xml:"EnableSaveMFATicket,omitempty"`
	// The subnet mask.
	//
	// example:
	//
	// 10.0.0.0/8
	LoginNetworkMasks *string `json:"LoginNetworkMasks,omitempty" xml:"LoginNetworkMasks,omitempty"`
	// The validity period of the logon session of RAM users.
	//
	// example:
	//
	// 6
	LoginSessionDuration *int32 `json:"LoginSessionDuration,omitempty" xml:"LoginSessionDuration,omitempty"`
}

func (SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) GoString

func (*SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetAllowUserToChangePassword

func (*SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetEnableSaveMFATicket

func (*SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetLoginNetworkMasks

func (*SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) SetLoginSessionDuration

func (SetSecurityPreferenceResponseBodySecurityPreferenceLoginProfilePreference) String

type SetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference

type SetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference struct {
	// Indicates whether RAM users can manage their MFA devices.
	//
	// example:
	//
	// false
	AllowUserToManageMFADevices *bool `json:"AllowUserToManageMFADevices,omitempty" xml:"AllowUserToManageMFADevices,omitempty"`
}

func (SetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference) GoString

func (*SetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference) SetAllowUserToManageMFADevices

func (SetSecurityPreferenceResponseBodySecurityPreferenceMFAPreference) String

type SetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference

type SetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference struct {
	// Indicates whether RAM users can manage their public keys.
	//
	// example:
	//
	// false
	AllowUserToManagePublicKeys *bool `json:"AllowUserToManagePublicKeys,omitempty" xml:"AllowUserToManagePublicKeys,omitempty"`
}

func (SetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference) GoString

func (*SetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference) SetAllowUserToManagePublicKeys

func (SetSecurityPreferenceResponseBodySecurityPreferencePublicKeyPreference) String

type TagResourcesRequest added in v2.2.0

type TagResourcesRequest struct {
	// The names of the resources. You can specify up to 50 resource names.
	ResourceNames []*string `json:"ResourceNames,omitempty" xml:"ResourceNames,omitempty" type:"Repeated"`
	// The resource type.
	//
	// Enumerated values:
	//
	// 	- role
	//
	// 	- policy
	//
	// example:
	//
	// role
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags. You can specify up to 20 tags.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString added in v2.2.0

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetResourceNames added in v2.2.0

func (s *TagResourcesRequest) SetResourceNames(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType added in v2.2.0

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag added in v2.2.0

func (TagResourcesRequest) String added in v2.2.0

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag added in v2.2.0

type TagResourcesRequestTag struct {
	// The key of the tag. The tag key can be up to 128 characters in length.
	//
	// example:
	//
	// k1
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag. The tag value can be up to 256 characters in length.
	//
	// example:
	//
	// v1
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString added in v2.2.0

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey added in v2.2.0

func (*TagResourcesRequestTag) SetValue added in v2.2.0

func (TagResourcesRequestTag) String added in v2.2.0

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse added in v2.2.0

type TagResourcesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TagResourcesResponse) GoString added in v2.2.0

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody added in v2.2.0

func (*TagResourcesResponse) SetHeaders added in v2.2.0

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode added in v2.2.0

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String added in v2.2.0

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody added in v2.2.0

type TagResourcesResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 697852FB-50D7-44D9-9774-530C31EAC572
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString added in v2.2.0

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId added in v2.2.0

func (TagResourcesResponseBody) String added in v2.2.0

func (s TagResourcesResponseBody) String() string

type TagResourcesShrinkRequest added in v2.2.0

type TagResourcesShrinkRequest struct {
	// The names of the resources. You can specify up to 50 resource names.
	ResourceNamesShrink *string `json:"ResourceNames,omitempty" xml:"ResourceNames,omitempty"`
	// The resource type.
	//
	// Enumerated values:
	//
	// 	- role
	//
	// 	- policy
	//
	// example:
	//
	// role
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags. You can specify up to 20 tags.
	TagShrink *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (TagResourcesShrinkRequest) GoString added in v2.2.0

func (s TagResourcesShrinkRequest) GoString() string

func (*TagResourcesShrinkRequest) SetResourceNamesShrink added in v2.2.0

func (s *TagResourcesShrinkRequest) SetResourceNamesShrink(v string) *TagResourcesShrinkRequest

func (*TagResourcesShrinkRequest) SetResourceType added in v2.2.0

func (*TagResourcesShrinkRequest) SetTagShrink added in v2.2.0

func (TagResourcesShrinkRequest) String added in v2.2.0

func (s TagResourcesShrinkRequest) String() string

type UnbindMFADeviceRequest

type UnbindMFADeviceRequest struct {
	// Specifies the username.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (UnbindMFADeviceRequest) GoString

func (s UnbindMFADeviceRequest) GoString() string

func (*UnbindMFADeviceRequest) SetUserName

func (UnbindMFADeviceRequest) String

func (s UnbindMFADeviceRequest) String() string

type UnbindMFADeviceResponse

type UnbindMFADeviceResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UnbindMFADeviceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UnbindMFADeviceResponse) GoString

func (s UnbindMFADeviceResponse) GoString() string

func (*UnbindMFADeviceResponse) SetBody

func (*UnbindMFADeviceResponse) SetHeaders

func (*UnbindMFADeviceResponse) SetStatusCode

func (UnbindMFADeviceResponse) String

func (s UnbindMFADeviceResponse) String() string

type UnbindMFADeviceResponseBody

type UnbindMFADeviceResponseBody struct {
	// The information about the MFA device.
	MFADevice *UnbindMFADeviceResponseBodyMFADevice `json:"MFADevice,omitempty" xml:"MFADevice,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UnbindMFADeviceResponseBody) GoString

func (s UnbindMFADeviceResponseBody) GoString() string

func (*UnbindMFADeviceResponseBody) SetMFADevice

func (*UnbindMFADeviceResponseBody) SetRequestId

func (UnbindMFADeviceResponseBody) String

type UnbindMFADeviceResponseBodyMFADevice

type UnbindMFADeviceResponseBodyMFADevice struct {
	// The serial number of the MFA device.
	//
	// example:
	//
	// acs:ram::123456789012****:mfa/device002
	SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"`
}

func (UnbindMFADeviceResponseBodyMFADevice) GoString

func (*UnbindMFADeviceResponseBodyMFADevice) SetSerialNumber

func (UnbindMFADeviceResponseBodyMFADevice) String

type UntagResourcesRequest added in v2.2.0

type UntagResourcesRequest struct {
	// Specifies whether to remove all tags from the resources.
	//
	// Enumerated values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	All *bool `json:"All,omitempty" xml:"All,omitempty"`
	// The names of the resources. You can specify up to 50 resource names.
	ResourceNames []*string `json:"ResourceNames,omitempty" xml:"ResourceNames,omitempty" type:"Repeated"`
	// The resource type.
	//
	// Enumerated values:
	//
	// 	- role
	//
	// 	- policy
	//
	// example:
	//
	// role
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The keys of the tags. You can specify up to 20 tag keys.
	TagKeys []*string `json:"TagKeys,omitempty" xml:"TagKeys,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString added in v2.2.0

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll added in v2.2.0

func (*UntagResourcesRequest) SetResourceNames added in v2.2.0

func (s *UntagResourcesRequest) SetResourceNames(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType added in v2.2.0

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKeys added in v2.2.0

func (s *UntagResourcesRequest) SetTagKeys(v []*string) *UntagResourcesRequest

func (UntagResourcesRequest) String added in v2.2.0

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse added in v2.2.0

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UntagResourcesResponse) GoString added in v2.2.0

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody added in v2.2.0

func (*UntagResourcesResponse) SetHeaders added in v2.2.0

func (*UntagResourcesResponse) SetStatusCode added in v2.2.0

func (UntagResourcesResponse) String added in v2.2.0

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody added in v2.2.0

type UntagResourcesResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 9B34724D-54B0-4A51-B34D-4512372FE1BE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString added in v2.2.0

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId added in v2.2.0

func (UntagResourcesResponseBody) String added in v2.2.0

type UntagResourcesShrinkRequest added in v2.2.0

type UntagResourcesShrinkRequest struct {
	// Specifies whether to remove all tags from the resources.
	//
	// Enumerated values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	All *bool `json:"All,omitempty" xml:"All,omitempty"`
	// The names of the resources. You can specify up to 50 resource names.
	ResourceNamesShrink *string `json:"ResourceNames,omitempty" xml:"ResourceNames,omitempty"`
	// The resource type.
	//
	// Enumerated values:
	//
	// 	- role
	//
	// 	- policy
	//
	// example:
	//
	// role
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The keys of the tags. You can specify up to 20 tag keys.
	TagKeysShrink *string `json:"TagKeys,omitempty" xml:"TagKeys,omitempty"`
}

func (UntagResourcesShrinkRequest) GoString added in v2.2.0

func (s UntagResourcesShrinkRequest) GoString() string

func (*UntagResourcesShrinkRequest) SetAll added in v2.2.0

func (*UntagResourcesShrinkRequest) SetResourceNamesShrink added in v2.2.0

func (s *UntagResourcesShrinkRequest) SetResourceNamesShrink(v string) *UntagResourcesShrinkRequest

func (*UntagResourcesShrinkRequest) SetResourceType added in v2.2.0

func (*UntagResourcesShrinkRequest) SetTagKeysShrink added in v2.2.0

func (UntagResourcesShrinkRequest) String added in v2.2.0

type UpdateAccessKeyRequest

type UpdateAccessKeyRequest struct {
	// The status of the AccessKey pair. Valid values: `Active` and `Inactive`.
	//
	// example:
	//
	// Inactive
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The AccessKey ID in the AccessKey pair whose status you want to change.“
	//
	// example:
	//
	// 0wNEpMMlzy7s****
	UserAccessKeyId *string `json:"UserAccessKeyId,omitempty" xml:"UserAccessKeyId,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (UpdateAccessKeyRequest) GoString

func (s UpdateAccessKeyRequest) GoString() string

func (*UpdateAccessKeyRequest) SetStatus

func (*UpdateAccessKeyRequest) SetUserAccessKeyId

func (s *UpdateAccessKeyRequest) SetUserAccessKeyId(v string) *UpdateAccessKeyRequest

func (*UpdateAccessKeyRequest) SetUserName

func (UpdateAccessKeyRequest) String

func (s UpdateAccessKeyRequest) String() string

type UpdateAccessKeyResponse

type UpdateAccessKeyResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateAccessKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAccessKeyResponse) GoString

func (s UpdateAccessKeyResponse) GoString() string

func (*UpdateAccessKeyResponse) SetBody

func (*UpdateAccessKeyResponse) SetHeaders

func (*UpdateAccessKeyResponse) SetStatusCode

func (UpdateAccessKeyResponse) String

func (s UpdateAccessKeyResponse) String() string

type UpdateAccessKeyResponseBody

type UpdateAccessKeyResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateAccessKeyResponseBody) GoString

func (s UpdateAccessKeyResponseBody) GoString() string

func (*UpdateAccessKeyResponseBody) SetRequestId

func (UpdateAccessKeyResponseBody) String

type UpdateGroupRequest

type UpdateGroupRequest struct {
	// The name of the RAM user group.
	//
	// example:
	//
	// Dev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The new description of the RAM user group.
	//
	// The new description must be 1 to 128 characters in length.
	//
	// example:
	//
	// NewDev-Team
	NewComments *string `json:"NewComments,omitempty" xml:"NewComments,omitempty"`
	// The new name of the RAM user group.
	//
	// The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_).
	//
	// example:
	//
	// NewDev-Team
	NewGroupName *string `json:"NewGroupName,omitempty" xml:"NewGroupName,omitempty"`
}

func (UpdateGroupRequest) GoString

func (s UpdateGroupRequest) GoString() string

func (*UpdateGroupRequest) SetGroupName

func (s *UpdateGroupRequest) SetGroupName(v string) *UpdateGroupRequest

func (*UpdateGroupRequest) SetNewComments

func (s *UpdateGroupRequest) SetNewComments(v string) *UpdateGroupRequest

func (*UpdateGroupRequest) SetNewGroupName

func (s *UpdateGroupRequest) SetNewGroupName(v string) *UpdateGroupRequest

func (UpdateGroupRequest) String

func (s UpdateGroupRequest) String() string

type UpdateGroupResponse

type UpdateGroupResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateGroupResponse) GoString

func (s UpdateGroupResponse) GoString() string

func (*UpdateGroupResponse) SetBody

func (*UpdateGroupResponse) SetHeaders

func (s *UpdateGroupResponse) SetHeaders(v map[string]*string) *UpdateGroupResponse

func (*UpdateGroupResponse) SetStatusCode

func (s *UpdateGroupResponse) SetStatusCode(v int32) *UpdateGroupResponse

func (UpdateGroupResponse) String

func (s UpdateGroupResponse) String() string

type UpdateGroupResponseBody

type UpdateGroupResponseBody struct {
	// The information about the RAM user group.
	Group *UpdateGroupResponseBodyGroup `json:"Group,omitempty" xml:"Group,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// EC6647CC-0A36-EC7A-BA72-CC81BF3DE182
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateGroupResponseBody) GoString

func (s UpdateGroupResponseBody) GoString() string

func (*UpdateGroupResponseBody) SetGroup

func (*UpdateGroupResponseBody) SetRequestId

func (UpdateGroupResponseBody) String

func (s UpdateGroupResponseBody) String() string

type UpdateGroupResponseBodyGroup

type UpdateGroupResponseBodyGroup struct {
	// The description.
	//
	// example:
	//
	// NewDev-Team
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The creation time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ID of the RAM user group.
	//
	// example:
	//
	// g-FpMEHiMysofp****
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the RAM user group.
	//
	// example:
	//
	// NewDev-Team
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The modification time.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (UpdateGroupResponseBodyGroup) GoString

func (s UpdateGroupResponseBodyGroup) GoString() string

func (*UpdateGroupResponseBodyGroup) SetComments

func (*UpdateGroupResponseBodyGroup) SetCreateDate

func (*UpdateGroupResponseBodyGroup) SetGroupId

func (*UpdateGroupResponseBodyGroup) SetGroupName

func (*UpdateGroupResponseBodyGroup) SetUpdateDate

func (UpdateGroupResponseBodyGroup) String

type UpdateLoginProfileRequest

type UpdateLoginProfileRequest struct {
	// Specifies whether a multi-factor authentication (MFA) device must be bound to the RAM user upon logon.
	//
	// example:
	//
	// true
	MFABindRequired *bool `json:"MFABindRequired,omitempty" xml:"MFABindRequired,omitempty"`
	// The logon password of the RAM user. The password must meet the password strength requirements.
	//
	// example:
	//
	// mypassword
	Password *string `json:"Password,omitempty" xml:"Password,omitempty"`
	// Specifies whether the RAM user has to change the password upon logon.
	//
	// example:
	//
	// true
	PasswordResetRequired *bool `json:"PasswordResetRequired,omitempty" xml:"PasswordResetRequired,omitempty"`
	// The name of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (UpdateLoginProfileRequest) GoString

func (s UpdateLoginProfileRequest) GoString() string

func (*UpdateLoginProfileRequest) SetMFABindRequired

func (s *UpdateLoginProfileRequest) SetMFABindRequired(v bool) *UpdateLoginProfileRequest

func (*UpdateLoginProfileRequest) SetPassword

func (*UpdateLoginProfileRequest) SetPasswordResetRequired

func (s *UpdateLoginProfileRequest) SetPasswordResetRequired(v bool) *UpdateLoginProfileRequest

func (*UpdateLoginProfileRequest) SetUserName

func (UpdateLoginProfileRequest) String

func (s UpdateLoginProfileRequest) String() string

type UpdateLoginProfileResponse

type UpdateLoginProfileResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateLoginProfileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateLoginProfileResponse) GoString

func (s UpdateLoginProfileResponse) GoString() string

func (*UpdateLoginProfileResponse) SetBody

func (*UpdateLoginProfileResponse) SetHeaders

func (*UpdateLoginProfileResponse) SetStatusCode

func (UpdateLoginProfileResponse) String

type UpdateLoginProfileResponseBody

type UpdateLoginProfileResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateLoginProfileResponseBody) GoString

func (*UpdateLoginProfileResponseBody) SetRequestId

func (UpdateLoginProfileResponseBody) String

type UpdatePolicyDescriptionRequest

type UpdatePolicyDescriptionRequest struct {
	// The description of the policy.
	//
	// The description must be 1 to 1,024 characters in length.
	//
	// example:
	//
	// This is a test policy.
	NewDescription *string `json:"NewDescription,omitempty" xml:"NewDescription,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// TestPolicy
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
}

func (UpdatePolicyDescriptionRequest) GoString

func (*UpdatePolicyDescriptionRequest) SetNewDescription

func (*UpdatePolicyDescriptionRequest) SetPolicyName

func (UpdatePolicyDescriptionRequest) String

type UpdatePolicyDescriptionResponse

type UpdatePolicyDescriptionResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdatePolicyDescriptionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdatePolicyDescriptionResponse) GoString

func (*UpdatePolicyDescriptionResponse) SetHeaders

func (*UpdatePolicyDescriptionResponse) SetStatusCode

func (UpdatePolicyDescriptionResponse) String

type UpdatePolicyDescriptionResponseBody

type UpdatePolicyDescriptionResponseBody struct {
	// The information about the policy.
	Policy *UpdatePolicyDescriptionResponseBodyPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 7572DEBD-0ECE-518E-8682-D8CB82F8FE8E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdatePolicyDescriptionResponseBody) GoString

func (*UpdatePolicyDescriptionResponseBody) SetRequestId

func (UpdatePolicyDescriptionResponseBody) String

type UpdatePolicyDescriptionResponseBodyPolicy

type UpdatePolicyDescriptionResponseBodyPolicy struct {
	// The time when the policy was created.
	//
	// example:
	//
	// 2022-02-28T07:04:15Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The version of the policy. Default value: v1.
	//
	// example:
	//
	// v1
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	//
	// example:
	//
	// This is a test policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// TestPolicy
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// 	- Custom
	//
	// 	- System
	//
	// example:
	//
	// Custom
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the policy was modified.
	//
	// example:
	//
	// 2022-02-28T07:05:37Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (UpdatePolicyDescriptionResponseBodyPolicy) GoString

func (*UpdatePolicyDescriptionResponseBodyPolicy) SetCreateDate

func (*UpdatePolicyDescriptionResponseBodyPolicy) SetDefaultVersion

func (*UpdatePolicyDescriptionResponseBodyPolicy) SetDescription

func (*UpdatePolicyDescriptionResponseBodyPolicy) SetPolicyName

func (*UpdatePolicyDescriptionResponseBodyPolicy) SetPolicyType

func (*UpdatePolicyDescriptionResponseBodyPolicy) SetUpdateDate

func (UpdatePolicyDescriptionResponseBodyPolicy) String

type UpdateRoleRequest

type UpdateRoleRequest struct {
	// The trust policy that specifies the trusted entity to assume the RAM role.
	//
	// example:
	//
	// { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::12345678901234****:root" } } ], "Version": "1" }
	NewAssumeRolePolicyDocument *string `json:"NewAssumeRolePolicyDocument,omitempty" xml:"NewAssumeRolePolicyDocument,omitempty"`
	// The new description of the RAM role.
	//
	// The description must be 1 to 1,024 characters in length.
	//
	// example:
	//
	// ECS administrator
	NewDescription *string `json:"NewDescription,omitempty" xml:"NewDescription,omitempty"`
	// The maximum session time of the RAM role.
	//
	// Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.
	//
	// If you do not specify this parameter, the default value is used.
	//
	// example:
	//
	// 3600
	NewMaxSessionDuration *int64 `json:"NewMaxSessionDuration,omitempty" xml:"NewMaxSessionDuration,omitempty"`
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (UpdateRoleRequest) GoString

func (s UpdateRoleRequest) GoString() string

func (*UpdateRoleRequest) SetNewAssumeRolePolicyDocument

func (s *UpdateRoleRequest) SetNewAssumeRolePolicyDocument(v string) *UpdateRoleRequest

func (*UpdateRoleRequest) SetNewDescription

func (s *UpdateRoleRequest) SetNewDescription(v string) *UpdateRoleRequest

func (*UpdateRoleRequest) SetNewMaxSessionDuration

func (s *UpdateRoleRequest) SetNewMaxSessionDuration(v int64) *UpdateRoleRequest

func (*UpdateRoleRequest) SetRoleName

func (s *UpdateRoleRequest) SetRoleName(v string) *UpdateRoleRequest

func (UpdateRoleRequest) String

func (s UpdateRoleRequest) String() string

type UpdateRoleResponse

type UpdateRoleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateRoleResponse) GoString

func (s UpdateRoleResponse) GoString() string

func (*UpdateRoleResponse) SetBody

func (*UpdateRoleResponse) SetHeaders

func (s *UpdateRoleResponse) SetHeaders(v map[string]*string) *UpdateRoleResponse

func (*UpdateRoleResponse) SetStatusCode

func (s *UpdateRoleResponse) SetStatusCode(v int32) *UpdateRoleResponse

func (UpdateRoleResponse) String

func (s UpdateRoleResponse) String() string

type UpdateRoleResponseBody

type UpdateRoleResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM role.
	Role *UpdateRoleResponseBodyRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Struct"`
}

func (UpdateRoleResponseBody) GoString

func (s UpdateRoleResponseBody) GoString() string

func (*UpdateRoleResponseBody) SetRequestId

func (*UpdateRoleResponseBody) SetRole

func (UpdateRoleResponseBody) String

func (s UpdateRoleResponseBody) String() string

type UpdateRoleResponseBodyRole

type UpdateRoleResponseBodyRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	//
	// example:
	//
	// acs:ram::123456789012****:role/ECSAdmin
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The trust policy that specifies the trusted entity to assume the RAM role.
	//
	// example:
	//
	// { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::123456789012****:root" } } ], "Version": "1" }
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The time when the RAM role was created.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	//
	// example:
	//
	// ECS administrator
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session time of the RAM role.
	//
	// example:
	//
	// 3600
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	//
	// example:
	//
	// 901234567890****
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	//
	// example:
	//
	// ECSAdmin
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The time when the description of the RAM role was changed.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (UpdateRoleResponseBodyRole) GoString

func (s UpdateRoleResponseBodyRole) GoString() string

func (*UpdateRoleResponseBodyRole) SetArn

func (*UpdateRoleResponseBodyRole) SetAssumeRolePolicyDocument

func (s *UpdateRoleResponseBodyRole) SetAssumeRolePolicyDocument(v string) *UpdateRoleResponseBodyRole

func (*UpdateRoleResponseBodyRole) SetCreateDate

func (*UpdateRoleResponseBodyRole) SetDescription

func (*UpdateRoleResponseBodyRole) SetMaxSessionDuration

func (s *UpdateRoleResponseBodyRole) SetMaxSessionDuration(v int64) *UpdateRoleResponseBodyRole

func (*UpdateRoleResponseBodyRole) SetRoleId

func (*UpdateRoleResponseBodyRole) SetRoleName

func (*UpdateRoleResponseBodyRole) SetUpdateDate

func (UpdateRoleResponseBodyRole) String

type UpdateUserRequest

type UpdateUserRequest struct {
	// The new description of the RAM user.
	//
	// The description must be 1 to 128 characters in length.
	//
	// example:
	//
	// This is a cloud computing engineer.
	NewComments *string `json:"NewComments,omitempty" xml:"NewComments,omitempty"`
	// The new display name of the RAM user.
	//
	// The name must be 1 to 128 characters in length.
	//
	// example:
	//
	// xiaoq****
	NewDisplayName *string `json:"NewDisplayName,omitempty" xml:"NewDisplayName,omitempty"`
	// The new email address of the RAM user.
	//
	// >  This parameter applies only to the China site (aliyun.com).
	//
	// example:
	//
	// xiaoq****@example.com
	NewEmail *string `json:"NewEmail,omitempty" xml:"NewEmail,omitempty"`
	// The new mobile phone number of the RAM user.
	//
	// Format: \\<Country code>-\\<Mobile phone number>.
	//
	// >  This parameter applies only to the China site (aliyun.com).
	//
	// example:
	//
	// 86-1860000****
	NewMobilePhone *string `json:"NewMobilePhone,omitempty" xml:"NewMobilePhone,omitempty"`
	// The new username of the RAM user.
	//
	// The username must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (_).
	//
	// example:
	//
	// xiaoq****
	NewUserName *string `json:"NewUserName,omitempty" xml:"NewUserName,omitempty"`
	// The username of the RAM user.
	//
	// example:
	//
	// zhangq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (UpdateUserRequest) GoString

func (s UpdateUserRequest) GoString() string

func (*UpdateUserRequest) SetNewComments

func (s *UpdateUserRequest) SetNewComments(v string) *UpdateUserRequest

func (*UpdateUserRequest) SetNewDisplayName

func (s *UpdateUserRequest) SetNewDisplayName(v string) *UpdateUserRequest

func (*UpdateUserRequest) SetNewEmail

func (s *UpdateUserRequest) SetNewEmail(v string) *UpdateUserRequest

func (*UpdateUserRequest) SetNewMobilePhone

func (s *UpdateUserRequest) SetNewMobilePhone(v string) *UpdateUserRequest

func (*UpdateUserRequest) SetNewUserName

func (s *UpdateUserRequest) SetNewUserName(v string) *UpdateUserRequest

func (*UpdateUserRequest) SetUserName

func (s *UpdateUserRequest) SetUserName(v string) *UpdateUserRequest

func (UpdateUserRequest) String

func (s UpdateUserRequest) String() string

type UpdateUserResponse

type UpdateUserResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateUserResponse) GoString

func (s UpdateUserResponse) GoString() string

func (*UpdateUserResponse) SetBody

func (*UpdateUserResponse) SetHeaders

func (s *UpdateUserResponse) SetHeaders(v map[string]*string) *UpdateUserResponse

func (*UpdateUserResponse) SetStatusCode

func (s *UpdateUserResponse) SetStatusCode(v int32) *UpdateUserResponse

func (UpdateUserResponse) String

func (s UpdateUserResponse) String() string

type UpdateUserResponseBody

type UpdateUserResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 04F0F334-1335-436C-A1D7-6C044FE73368
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the RAM user.
	User *UpdateUserResponseBodyUser `json:"User,omitempty" xml:"User,omitempty" type:"Struct"`
}

func (UpdateUserResponseBody) GoString

func (s UpdateUserResponseBody) GoString() string

func (*UpdateUserResponseBody) SetRequestId

func (*UpdateUserResponseBody) SetUser

func (UpdateUserResponseBody) String

func (s UpdateUserResponseBody) String() string

type UpdateUserResponseBodyUser

type UpdateUserResponseBodyUser struct {
	// The description of the RAM user.
	//
	// example:
	//
	// This is a cloud computing engineer.
	Comments *string `json:"Comments,omitempty" xml:"Comments,omitempty"`
	// The point in time when the RAM user was created. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-01-23T12:33:18Z
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the RAM user.
	//
	// example:
	//
	// xiaoq****
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The email address of the RAM user.
	//
	// >  This parameter can be returned only on the China site (aliyun.com).
	//
	// example:
	//
	// xiaoq****@example.com
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// The mobile phone number of the RAM user.
	//
	// >  This parameter can be returned only on the China site (aliyun.com).
	//
	// example:
	//
	// 86-1860000****
	MobilePhone *string `json:"MobilePhone,omitempty" xml:"MobilePhone,omitempty"`
	// The point in time when the information about the RAM user was last modified. The time is displayed in UTC.
	//
	// example:
	//
	// 2015-02-11T03:15:21Z
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
	// The ID of the RAM user.
	//
	// example:
	//
	// 122748924538****
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// The username of the RAM user.
	//
	// example:
	//
	// xiaoq****
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (UpdateUserResponseBodyUser) GoString

func (s UpdateUserResponseBodyUser) GoString() string

func (*UpdateUserResponseBodyUser) SetComments

func (*UpdateUserResponseBodyUser) SetCreateDate

func (*UpdateUserResponseBodyUser) SetDisplayName

func (*UpdateUserResponseBodyUser) SetEmail

func (*UpdateUserResponseBodyUser) SetMobilePhone

func (*UpdateUserResponseBodyUser) SetUpdateDate

func (*UpdateUserResponseBodyUser) SetUserId

func (*UpdateUserResponseBodyUser) SetUserName

func (UpdateUserResponseBodyUser) String

Jump to

Keyboard shortcuts

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