apis

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPermissionsToSubUserRequest

type AddPermissionsToSubUserRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 子用户用户名  */
	SubUser string `json:"subUser"`

	/* 权限信息  */
	AddPermissionsInfo *iam.AddPermissionsInfo `json:"addPermissionsInfo"`
}

func NewAddPermissionsToSubUserRequest

func NewAddPermissionsToSubUserRequest(
	regionId string,
	subUser string,
	addPermissionsInfo *iam.AddPermissionsInfo,
) *AddPermissionsToSubUserRequest

* param regionId: Region ID (Required) * param subUser: 子用户用户名 (Required) * param addPermissionsInfo: 权限信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddPermissionsToSubUserRequestWithAllParams

func NewAddPermissionsToSubUserRequestWithAllParams(
	regionId string,
	subUser string,
	addPermissionsInfo *iam.AddPermissionsInfo,
) *AddPermissionsToSubUserRequest

* param regionId: Region ID (Required) * param subUser: 子用户用户名 (Required) * param addPermissionsInfo: 权限信息 (Required)

func NewAddPermissionsToSubUserRequestWithoutParam

func NewAddPermissionsToSubUserRequestWithoutParam() *AddPermissionsToSubUserRequest

This constructor has better compatible ability when API parameters changed

func (AddPermissionsToSubUserRequest) GetRegionId

func (r AddPermissionsToSubUserRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddPermissionsToSubUserRequest) SetAddPermissionsInfo

func (r *AddPermissionsToSubUserRequest) SetAddPermissionsInfo(addPermissionsInfo *iam.AddPermissionsInfo)

param addPermissionsInfo: 权限信息(Required)

func (*AddPermissionsToSubUserRequest) SetRegionId

func (r *AddPermissionsToSubUserRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*AddPermissionsToSubUserRequest) SetSubUser

func (r *AddPermissionsToSubUserRequest) SetSubUser(subUser string)

param subUser: 子用户用户名(Required)

type AddPermissionsToSubUserResponse

type AddPermissionsToSubUserResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    AddPermissionsToSubUserResult `json:"result"`
}

type AddPermissionsToSubUserResult

type AddPermissionsToSubUserResult struct {
}

type AddSubUserToGroupRequest

type AddSubUserToGroupRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`

	/* 子用户名  */
	SubUser string `json:"subUser"`
}

func NewAddSubUserToGroupRequest

func NewAddSubUserToGroupRequest(
	groupName string,
	subUser string,
) *AddSubUserToGroupRequest

* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddSubUserToGroupRequestWithAllParams

func NewAddSubUserToGroupRequestWithAllParams(
	groupName string,
	subUser string,
) *AddSubUserToGroupRequest

* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required)

func NewAddSubUserToGroupRequestWithoutParam

func NewAddSubUserToGroupRequestWithoutParam() *AddSubUserToGroupRequest

This constructor has better compatible ability when API parameters changed

func (AddSubUserToGroupRequest) GetRegionId

func (r AddSubUserToGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddSubUserToGroupRequest) SetGroupName

func (r *AddSubUserToGroupRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

func (*AddSubUserToGroupRequest) SetSubUser

func (r *AddSubUserToGroupRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type AddSubUserToGroupResponse

type AddSubUserToGroupResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    AddSubUserToGroupResult `json:"result"`
}

type AddSubUserToGroupResult

type AddSubUserToGroupResult struct {
}

type AttachGroupPolicyRequest

type AttachGroupPolicyRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewAttachGroupPolicyRequest

func NewAttachGroupPolicyRequest(
	groupName string,
	policyName string,
) *AttachGroupPolicyRequest

* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAttachGroupPolicyRequestWithAllParams

func NewAttachGroupPolicyRequestWithAllParams(
	groupName string,
	policyName string,
) *AttachGroupPolicyRequest

* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required)

func NewAttachGroupPolicyRequestWithoutParam

func NewAttachGroupPolicyRequestWithoutParam() *AttachGroupPolicyRequest

This constructor has better compatible ability when API parameters changed

func (AttachGroupPolicyRequest) GetRegionId

func (r AttachGroupPolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AttachGroupPolicyRequest) SetGroupName

func (r *AttachGroupPolicyRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

func (*AttachGroupPolicyRequest) SetPolicyName

func (r *AttachGroupPolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

type AttachGroupPolicyResponse

type AttachGroupPolicyResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    AttachGroupPolicyResult `json:"result"`
}

type AttachGroupPolicyResult

type AttachGroupPolicyResult struct {
}

type AttachRolePolicyRequest

type AttachRolePolicyRequest struct {
	core.JDCloudRequest

	/* 角色名称  */
	RoleName string `json:"roleName"`

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewAttachRolePolicyRequest

func NewAttachRolePolicyRequest(
	roleName string,
	policyName string,
) *AttachRolePolicyRequest

* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAttachRolePolicyRequestWithAllParams

func NewAttachRolePolicyRequestWithAllParams(
	roleName string,
	policyName string,
) *AttachRolePolicyRequest

* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required)

func NewAttachRolePolicyRequestWithoutParam

func NewAttachRolePolicyRequestWithoutParam() *AttachRolePolicyRequest

This constructor has better compatible ability when API parameters changed

func (AttachRolePolicyRequest) GetRegionId

func (r AttachRolePolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AttachRolePolicyRequest) SetPolicyName

func (r *AttachRolePolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

func (*AttachRolePolicyRequest) SetRoleName

func (r *AttachRolePolicyRequest) SetRoleName(roleName string)

param roleName: 角色名称(Required)

type AttachRolePolicyResponse

type AttachRolePolicyResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    AttachRolePolicyResult `json:"result"`
}

type AttachRolePolicyResult

type AttachRolePolicyResult struct {
}

type AttachSubUserPolicyRequest

type AttachSubUserPolicyRequest struct {
	core.JDCloudRequest

	/* 子用户名  */
	SubUser string `json:"subUser"`

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewAttachSubUserPolicyRequest

func NewAttachSubUserPolicyRequest(
	subUser string,
	policyName string,
) *AttachSubUserPolicyRequest

* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAttachSubUserPolicyRequestWithAllParams

func NewAttachSubUserPolicyRequestWithAllParams(
	subUser string,
	policyName string,
) *AttachSubUserPolicyRequest

* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required)

func NewAttachSubUserPolicyRequestWithoutParam

func NewAttachSubUserPolicyRequestWithoutParam() *AttachSubUserPolicyRequest

This constructor has better compatible ability when API parameters changed

func (AttachSubUserPolicyRequest) GetRegionId

func (r AttachSubUserPolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AttachSubUserPolicyRequest) SetPolicyName

func (r *AttachSubUserPolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

func (*AttachSubUserPolicyRequest) SetSubUser

func (r *AttachSubUserPolicyRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type AttachSubUserPolicyResponse

type AttachSubUserPolicyResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    AttachSubUserPolicyResult `json:"result"`
}

type AttachSubUserPolicyResult

type AttachSubUserPolicyResult struct {
}

type CreateGroupRequest

type CreateGroupRequest struct {
	core.JDCloudRequest

	/*   */
	CreateGroupInfo *iam.CreateGroupInfo `json:"createGroupInfo"`
}

func NewCreateGroupRequest

func NewCreateGroupRequest(
	createGroupInfo *iam.CreateGroupInfo,
) *CreateGroupRequest

* param createGroupInfo: (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateGroupRequestWithAllParams

func NewCreateGroupRequestWithAllParams(
	createGroupInfo *iam.CreateGroupInfo,
) *CreateGroupRequest

* param createGroupInfo: (Required)

func NewCreateGroupRequestWithoutParam

func NewCreateGroupRequestWithoutParam() *CreateGroupRequest

This constructor has better compatible ability when API parameters changed

func (CreateGroupRequest) GetRegionId

func (r CreateGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateGroupRequest) SetCreateGroupInfo

func (r *CreateGroupRequest) SetCreateGroupInfo(createGroupInfo *iam.CreateGroupInfo)

param createGroupInfo: (Required)

type CreateGroupResponse

type CreateGroupResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateGroupResult  `json:"result"`
}

type CreateGroupResult

type CreateGroupResult struct {
	Group iam.CreateGroupRes `json:"group"`
}

type CreatePermissionRequest

type CreatePermissionRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 权限信息  */
	CreatePermissionInfo *iam.CreatePermissionInfo `json:"createPermissionInfo"`
}

func NewCreatePermissionRequest

func NewCreatePermissionRequest(
	regionId string,
	createPermissionInfo *iam.CreatePermissionInfo,
) *CreatePermissionRequest

* param regionId: Region ID (Required) * param createPermissionInfo: 权限信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreatePermissionRequestWithAllParams

func NewCreatePermissionRequestWithAllParams(
	regionId string,
	createPermissionInfo *iam.CreatePermissionInfo,
) *CreatePermissionRequest

* param regionId: Region ID (Required) * param createPermissionInfo: 权限信息 (Required)

func NewCreatePermissionRequestWithoutParam

func NewCreatePermissionRequestWithoutParam() *CreatePermissionRequest

This constructor has better compatible ability when API parameters changed

func (CreatePermissionRequest) GetRegionId

func (r CreatePermissionRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreatePermissionRequest) SetCreatePermissionInfo

func (r *CreatePermissionRequest) SetCreatePermissionInfo(createPermissionInfo *iam.CreatePermissionInfo)

param createPermissionInfo: 权限信息(Required)

func (*CreatePermissionRequest) SetRegionId

func (r *CreatePermissionRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type CreatePermissionResponse

type CreatePermissionResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreatePermissionResult `json:"result"`
}

type CreatePermissionResult

type CreatePermissionResult struct {
}

type CreatePolicyRequest

type CreatePolicyRequest struct {
	core.JDCloudRequest

	/* 策略信息  */
	CreatePolicyInfo *iam.CreatePolicyInfo `json:"createPolicyInfo"`
}

func NewCreatePolicyRequest

func NewCreatePolicyRequest(
	createPolicyInfo *iam.CreatePolicyInfo,
) *CreatePolicyRequest

* param createPolicyInfo: 策略信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreatePolicyRequestWithAllParams

func NewCreatePolicyRequestWithAllParams(
	createPolicyInfo *iam.CreatePolicyInfo,
) *CreatePolicyRequest

* param createPolicyInfo: 策略信息 (Required)

func NewCreatePolicyRequestWithoutParam

func NewCreatePolicyRequestWithoutParam() *CreatePolicyRequest

This constructor has better compatible ability when API parameters changed

func (CreatePolicyRequest) GetRegionId

func (r CreatePolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreatePolicyRequest) SetCreatePolicyInfo

func (r *CreatePolicyRequest) SetCreatePolicyInfo(createPolicyInfo *iam.CreatePolicyInfo)

param createPolicyInfo: 策略信息(Required)

type CreatePolicyResponse

type CreatePolicyResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreatePolicyResult `json:"result"`
}

type CreatePolicyResult

type CreatePolicyResult struct {
	Policy iam.Policy `json:"policy"`
}

type CreateRoleRequest

type CreateRoleRequest struct {
	core.JDCloudRequest

	/* 角色信息  */
	CreateRoleInfo *iam.CreateRoleInfo `json:"createRoleInfo"`
}

func NewCreateRoleRequest

func NewCreateRoleRequest(
	createRoleInfo *iam.CreateRoleInfo,
) *CreateRoleRequest

* param createRoleInfo: 角色信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateRoleRequestWithAllParams

func NewCreateRoleRequestWithAllParams(
	createRoleInfo *iam.CreateRoleInfo,
) *CreateRoleRequest

* param createRoleInfo: 角色信息 (Required)

func NewCreateRoleRequestWithoutParam

func NewCreateRoleRequestWithoutParam() *CreateRoleRequest

This constructor has better compatible ability when API parameters changed

func (CreateRoleRequest) GetRegionId

func (r CreateRoleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateRoleRequest) SetCreateRoleInfo

func (r *CreateRoleRequest) SetCreateRoleInfo(createRoleInfo *iam.CreateRoleInfo)

param createRoleInfo: 角色信息(Required)

type CreateRoleResponse

type CreateRoleResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateRoleResult   `json:"result"`
}

type CreateRoleResult

type CreateRoleResult struct {
	RoleInfo iam.RoleInfo `json:"roleInfo"`
}

type CreateSubUserRequest

type CreateSubUserRequest struct {
	core.JDCloudRequest

	/* 子用户信息  */
	CreateSubUserInfo *iam.CreateSubUserInfo `json:"createSubUserInfo"`
}

func NewCreateSubUserRequest

func NewCreateSubUserRequest(
	createSubUserInfo *iam.CreateSubUserInfo,
) *CreateSubUserRequest

* param createSubUserInfo: 子用户信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateSubUserRequestWithAllParams

func NewCreateSubUserRequestWithAllParams(
	createSubUserInfo *iam.CreateSubUserInfo,
) *CreateSubUserRequest

* param createSubUserInfo: 子用户信息 (Required)

func NewCreateSubUserRequestWithoutParam

func NewCreateSubUserRequestWithoutParam() *CreateSubUserRequest

This constructor has better compatible ability when API parameters changed

func (CreateSubUserRequest) GetRegionId

func (r CreateSubUserRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateSubUserRequest) SetCreateSubUserInfo

func (r *CreateSubUserRequest) SetCreateSubUserInfo(createSubUserInfo *iam.CreateSubUserInfo)

param createSubUserInfo: 子用户信息(Required)

type CreateSubUserResponse

type CreateSubUserResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    CreateSubUserResult `json:"result"`
}

type CreateSubUserResult

type CreateSubUserResult struct {
	SubUser iam.CreateSubUserRes `json:"subUser"`
}

type CreateUserAccessKeyRequest

type CreateUserAccessKeyRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`
}

func NewCreateUserAccessKeyRequest

func NewCreateUserAccessKeyRequest(
	regionId string,
) *CreateUserAccessKeyRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateUserAccessKeyRequestWithAllParams

func NewCreateUserAccessKeyRequestWithAllParams(
	regionId string,
) *CreateUserAccessKeyRequest

* param regionId: Region ID (Required)

func NewCreateUserAccessKeyRequestWithoutParam

func NewCreateUserAccessKeyRequestWithoutParam() *CreateUserAccessKeyRequest

This constructor has better compatible ability when API parameters changed

func (CreateUserAccessKeyRequest) GetRegionId

func (r CreateUserAccessKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateUserAccessKeyRequest) SetRegionId

func (r *CreateUserAccessKeyRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type CreateUserAccessKeyResponse

type CreateUserAccessKeyResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    CreateUserAccessKeyResult `json:"result"`
}

type CreateUserAccessKeyResult

type CreateUserAccessKeyResult struct {
}

type DeleteGroupRequest

type DeleteGroupRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`
}

func NewDeleteGroupRequest

func NewDeleteGroupRequest(
	groupName string,
) *DeleteGroupRequest

* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteGroupRequestWithAllParams

func NewDeleteGroupRequestWithAllParams(
	groupName string,
) *DeleteGroupRequest

* param groupName: 用户组名称 (Required)

func NewDeleteGroupRequestWithoutParam

func NewDeleteGroupRequestWithoutParam() *DeleteGroupRequest

This constructor has better compatible ability when API parameters changed

func (DeleteGroupRequest) GetRegionId

func (r DeleteGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteGroupRequest) SetGroupName

func (r *DeleteGroupRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

type DeleteGroupResponse

type DeleteGroupResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteGroupResult  `json:"result"`
}

type DeleteGroupResult

type DeleteGroupResult struct {
}

type DeletePolicyRequest

type DeletePolicyRequest struct {
	core.JDCloudRequest

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewDeletePolicyRequest

func NewDeletePolicyRequest(
	policyName string,
) *DeletePolicyRequest

* param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeletePolicyRequestWithAllParams

func NewDeletePolicyRequestWithAllParams(
	policyName string,
) *DeletePolicyRequest

* param policyName: 策略名称 (Required)

func NewDeletePolicyRequestWithoutParam

func NewDeletePolicyRequestWithoutParam() *DeletePolicyRequest

This constructor has better compatible ability when API parameters changed

func (DeletePolicyRequest) GetRegionId

func (r DeletePolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeletePolicyRequest) SetPolicyName

func (r *DeletePolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

type DeletePolicyResponse

type DeletePolicyResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeletePolicyResult `json:"result"`
}

type DeletePolicyResult

type DeletePolicyResult struct {
}

type DeleteRoleRequest

type DeleteRoleRequest struct {
	core.JDCloudRequest

	/* 角色名称  */
	RoleName string `json:"roleName"`
}

func NewDeleteRoleRequest

func NewDeleteRoleRequest(
	roleName string,
) *DeleteRoleRequest

* param roleName: 角色名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteRoleRequestWithAllParams

func NewDeleteRoleRequestWithAllParams(
	roleName string,
) *DeleteRoleRequest

* param roleName: 角色名称 (Required)

func NewDeleteRoleRequestWithoutParam

func NewDeleteRoleRequestWithoutParam() *DeleteRoleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteRoleRequest) GetRegionId

func (r DeleteRoleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteRoleRequest) SetRoleName

func (r *DeleteRoleRequest) SetRoleName(roleName string)

param roleName: 角色名称(Required)

type DeleteRoleResponse

type DeleteRoleResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteRoleResult   `json:"result"`
}

type DeleteRoleResult

type DeleteRoleResult struct {
}

type DeleteSubUserAccessKeyRequest

type DeleteSubUserAccessKeyRequest struct {
	core.JDCloudRequest

	/* 子用户名称  */
	SubUser string `json:"subUser"`

	/* accessKey  */
	AccessKey string `json:"accessKey"`
}

func NewDeleteSubUserAccessKeyRequest

func NewDeleteSubUserAccessKeyRequest(
	subUser string,
	accessKey string,
) *DeleteSubUserAccessKeyRequest

* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteSubUserAccessKeyRequestWithAllParams

func NewDeleteSubUserAccessKeyRequestWithAllParams(
	subUser string,
	accessKey string,
) *DeleteSubUserAccessKeyRequest

* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required)

func NewDeleteSubUserAccessKeyRequestWithoutParam

func NewDeleteSubUserAccessKeyRequestWithoutParam() *DeleteSubUserAccessKeyRequest

This constructor has better compatible ability when API parameters changed

func (DeleteSubUserAccessKeyRequest) GetRegionId

func (r DeleteSubUserAccessKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteSubUserAccessKeyRequest) SetAccessKey

func (r *DeleteSubUserAccessKeyRequest) SetAccessKey(accessKey string)

param accessKey: accessKey(Required)

func (*DeleteSubUserAccessKeyRequest) SetSubUser

func (r *DeleteSubUserAccessKeyRequest) SetSubUser(subUser string)

param subUser: 子用户名称(Required)

type DeleteSubUserAccessKeyResponse

type DeleteSubUserAccessKeyResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DeleteSubUserAccessKeyResult `json:"result"`
}

type DeleteSubUserAccessKeyResult

type DeleteSubUserAccessKeyResult struct {
}

type DeleteSubUserRequest

type DeleteSubUserRequest struct {
	core.JDCloudRequest

	/* 子用户名  */
	SubUser string `json:"subUser"`
}

func NewDeleteSubUserRequest

func NewDeleteSubUserRequest(
	subUser string,
) *DeleteSubUserRequest

* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteSubUserRequestWithAllParams

func NewDeleteSubUserRequestWithAllParams(
	subUser string,
) *DeleteSubUserRequest

* param subUser: 子用户名 (Required)

func NewDeleteSubUserRequestWithoutParam

func NewDeleteSubUserRequestWithoutParam() *DeleteSubUserRequest

This constructor has better compatible ability when API parameters changed

func (DeleteSubUserRequest) GetRegionId

func (r DeleteSubUserRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteSubUserRequest) SetSubUser

func (r *DeleteSubUserRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type DeleteSubUserResponse

type DeleteSubUserResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DeleteSubUserResult `json:"result"`
}

type DeleteSubUserResult

type DeleteSubUserResult struct {
}

type DeleteUserAccessKeyRequest

type DeleteUserAccessKeyRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* accessKey  */
	AccessKey string `json:"accessKey"`
}

func NewDeleteUserAccessKeyRequest

func NewDeleteUserAccessKeyRequest(
	regionId string,
	accessKey string,
) *DeleteUserAccessKeyRequest

* param regionId: Region ID (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteUserAccessKeyRequestWithAllParams

func NewDeleteUserAccessKeyRequestWithAllParams(
	regionId string,
	accessKey string,
) *DeleteUserAccessKeyRequest

* param regionId: Region ID (Required) * param accessKey: accessKey (Required)

func NewDeleteUserAccessKeyRequestWithoutParam

func NewDeleteUserAccessKeyRequestWithoutParam() *DeleteUserAccessKeyRequest

This constructor has better compatible ability when API parameters changed

func (DeleteUserAccessKeyRequest) GetRegionId

func (r DeleteUserAccessKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteUserAccessKeyRequest) SetAccessKey

func (r *DeleteUserAccessKeyRequest) SetAccessKey(accessKey string)

param accessKey: accessKey(Required)

func (*DeleteUserAccessKeyRequest) SetRegionId

func (r *DeleteUserAccessKeyRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DeleteUserAccessKeyResponse

type DeleteUserAccessKeyResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DeleteUserAccessKeyResult `json:"result"`
}

type DeleteUserAccessKeyResult

type DeleteUserAccessKeyResult struct {
}

type DescribeAttachedGroupPoliciesRequest

type DescribeAttachedGroupPoliciesRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`
}

func NewDescribeAttachedGroupPoliciesRequest

func NewDescribeAttachedGroupPoliciesRequest(
	groupName string,
) *DescribeAttachedGroupPoliciesRequest

* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAttachedGroupPoliciesRequestWithAllParams

func NewDescribeAttachedGroupPoliciesRequestWithAllParams(
	groupName string,
) *DescribeAttachedGroupPoliciesRequest

* param groupName: 用户组名称 (Required)

func NewDescribeAttachedGroupPoliciesRequestWithoutParam

func NewDescribeAttachedGroupPoliciesRequestWithoutParam() *DescribeAttachedGroupPoliciesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAttachedGroupPoliciesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAttachedGroupPoliciesRequest) SetGroupName

func (r *DescribeAttachedGroupPoliciesRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

type DescribeAttachedGroupPoliciesResponse

type DescribeAttachedGroupPoliciesResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeAttachedGroupPoliciesResult `json:"result"`
}

type DescribeAttachedGroupPoliciesResult

type DescribeAttachedGroupPoliciesResult struct {
	Total    int          `json:"total"`
	Policies []iam.Policy `json:"policies"`
}

type DescribeAttachedSubUserPoliciesRequest

type DescribeAttachedSubUserPoliciesRequest struct {
	core.JDCloudRequest

	/* 子用户名  */
	SubUser string `json:"subUser"`
}

func NewDescribeAttachedSubUserPoliciesRequest

func NewDescribeAttachedSubUserPoliciesRequest(
	subUser string,
) *DescribeAttachedSubUserPoliciesRequest

* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAttachedSubUserPoliciesRequestWithAllParams

func NewDescribeAttachedSubUserPoliciesRequestWithAllParams(
	subUser string,
) *DescribeAttachedSubUserPoliciesRequest

* param subUser: 子用户名 (Required)

func NewDescribeAttachedSubUserPoliciesRequestWithoutParam

func NewDescribeAttachedSubUserPoliciesRequestWithoutParam() *DescribeAttachedSubUserPoliciesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAttachedSubUserPoliciesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAttachedSubUserPoliciesRequest) SetSubUser

func (r *DescribeAttachedSubUserPoliciesRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type DescribeAttachedSubUserPoliciesResponse

type DescribeAttachedSubUserPoliciesResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DescribeAttachedSubUserPoliciesResult `json:"result"`
}

type DescribeAttachedSubUserPoliciesResult

type DescribeAttachedSubUserPoliciesResult struct {
	Total    int          `json:"total"`
	Policies []iam.Policy `json:"policies"`
}

type DescribeGroupRequest

type DescribeGroupRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`
}

func NewDescribeGroupRequest

func NewDescribeGroupRequest(
	groupName string,
) *DescribeGroupRequest

* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeGroupRequestWithAllParams

func NewDescribeGroupRequestWithAllParams(
	groupName string,
) *DescribeGroupRequest

* param groupName: 用户组名称 (Required)

func NewDescribeGroupRequestWithoutParam

func NewDescribeGroupRequestWithoutParam() *DescribeGroupRequest

This constructor has better compatible ability when API parameters changed

func (DescribeGroupRequest) GetRegionId

func (r DescribeGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeGroupRequest) SetGroupName

func (r *DescribeGroupRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

type DescribeGroupResponse

type DescribeGroupResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DescribeGroupResult `json:"result"`
}

type DescribeGroupResult

type DescribeGroupResult struct {
	Group iam.GroupDetail `json:"group"`
}

type DescribeGroupSubUsersRequest

type DescribeGroupSubUsersRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`

	/* 页码,默认1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认50,取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeGroupSubUsersRequest

func NewDescribeGroupSubUsersRequest(
	groupName string,
) *DescribeGroupSubUsersRequest

* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeGroupSubUsersRequestWithAllParams

func NewDescribeGroupSubUsersRequestWithAllParams(
	groupName string,
	pageNumber *int,
	pageSize *int,
) *DescribeGroupSubUsersRequest

* param groupName: 用户组名称 (Required) * param pageNumber: 页码,默认1 (Optional) * param pageSize: 分页大小,默认50,取值范围[10, 100] (Optional)

func NewDescribeGroupSubUsersRequestWithoutParam

func NewDescribeGroupSubUsersRequestWithoutParam() *DescribeGroupSubUsersRequest

This constructor has better compatible ability when API parameters changed

func (DescribeGroupSubUsersRequest) GetRegionId

func (r DescribeGroupSubUsersRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeGroupSubUsersRequest) SetGroupName

func (r *DescribeGroupSubUsersRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

func (*DescribeGroupSubUsersRequest) SetPageNumber

func (r *DescribeGroupSubUsersRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码,默认1(Optional)

func (*DescribeGroupSubUsersRequest) SetPageSize

func (r *DescribeGroupSubUsersRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)

type DescribeGroupSubUsersResponse

type DescribeGroupSubUsersResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeGroupSubUsersResult `json:"result"`
}

type DescribeGroupSubUsersResult

type DescribeGroupSubUsersResult struct {
	Total    int               `json:"total"`
	SubUsers []iam.SubUserInfo `json:"subUsers"`
}

type DescribeGroupsRequest

type DescribeGroupsRequest struct {
	core.JDCloudRequest

	/* 页码,默认1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认50,取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 关键字 (Optional) */
	Keyword *string `json:"keyword"`

	/* 排序规则:0-创建时间顺序排序,1-创建时间倒序排序 (Optional) */
	Sort *int `json:"sort"`
}

func NewDescribeGroupsRequest

func NewDescribeGroupsRequest() *DescribeGroupsRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeGroupsRequestWithAllParams

func NewDescribeGroupsRequestWithAllParams(
	pageNumber *int,
	pageSize *int,
	keyword *string,
	sort *int,
) *DescribeGroupsRequest

* param pageNumber: 页码,默认1 (Optional) * param pageSize: 分页大小,默认50,取值范围[10, 100] (Optional) * param keyword: 关键字 (Optional) * param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序 (Optional)

func NewDescribeGroupsRequestWithoutParam

func NewDescribeGroupsRequestWithoutParam() *DescribeGroupsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeGroupsRequest) GetRegionId

func (r DescribeGroupsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeGroupsRequest) SetKeyword

func (r *DescribeGroupsRequest) SetKeyword(keyword string)

param keyword: 关键字(Optional)

func (*DescribeGroupsRequest) SetPageNumber

func (r *DescribeGroupsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码,默认1(Optional)

func (*DescribeGroupsRequest) SetPageSize

func (r *DescribeGroupsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)

func (*DescribeGroupsRequest) SetSort

func (r *DescribeGroupsRequest) SetSort(sort int)

param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序(Optional)

type DescribeGroupsResponse

type DescribeGroupsResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DescribeGroupsResult `json:"result"`
}

type DescribeGroupsResult

type DescribeGroupsResult struct {
	Total  int         `json:"total"`
	Groups []iam.Group `json:"groups"`
}

type DescribePermissionDetailRequest

type DescribePermissionDetailRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 权限id  */
	PermissionId int `json:"permissionId"`
}

func NewDescribePermissionDetailRequest

func NewDescribePermissionDetailRequest(
	regionId string,
	permissionId int,
) *DescribePermissionDetailRequest

* param regionId: Region ID (Required) * param permissionId: 权限id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribePermissionDetailRequestWithAllParams

func NewDescribePermissionDetailRequestWithAllParams(
	regionId string,
	permissionId int,
) *DescribePermissionDetailRequest

* param regionId: Region ID (Required) * param permissionId: 权限id (Required)

func NewDescribePermissionDetailRequestWithoutParam

func NewDescribePermissionDetailRequestWithoutParam() *DescribePermissionDetailRequest

This constructor has better compatible ability when API parameters changed

func (DescribePermissionDetailRequest) GetRegionId

func (r DescribePermissionDetailRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribePermissionDetailRequest) SetPermissionId

func (r *DescribePermissionDetailRequest) SetPermissionId(permissionId int)

param permissionId: 权限id(Required)

func (*DescribePermissionDetailRequest) SetRegionId

func (r *DescribePermissionDetailRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribePermissionDetailResponse

type DescribePermissionDetailResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribePermissionDetailResult `json:"result"`
}

type DescribePermissionDetailResult

type DescribePermissionDetailResult struct {
	Permission iam.Permission `json:"permission"`
}

type DescribePermissionsRequest

type DescribePermissionsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码  */
	PageNumber int `json:"pageNumber"`

	/* 每页显示数目  */
	PageSize int `json:"pageSize"`

	/* 关键字 (Optional) */
	Keyword *string `json:"keyword"`

	/* 权限类型,0-全部,1-系统权限,2-自定义权限  */
	QueryType int `json:"queryType"`
}

func NewDescribePermissionsRequest

func NewDescribePermissionsRequest(
	regionId string,
	pageNumber int,
	pageSize int,
	queryType int,
) *DescribePermissionsRequest

* param regionId: Region ID (Required) * param pageNumber: 页码 (Required) * param pageSize: 每页显示数目 (Required) * param queryType: 权限类型,0-全部,1-系统权限,2-自定义权限 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribePermissionsRequestWithAllParams

func NewDescribePermissionsRequestWithAllParams(
	regionId string,
	pageNumber int,
	pageSize int,
	keyword *string,
	queryType int,
) *DescribePermissionsRequest

* param regionId: Region ID (Required) * param pageNumber: 页码 (Required) * param pageSize: 每页显示数目 (Required) * param keyword: 关键字 (Optional) * param queryType: 权限类型,0-全部,1-系统权限,2-自定义权限 (Required)

func NewDescribePermissionsRequestWithoutParam

func NewDescribePermissionsRequestWithoutParam() *DescribePermissionsRequest

This constructor has better compatible ability when API parameters changed

func (DescribePermissionsRequest) GetRegionId

func (r DescribePermissionsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribePermissionsRequest) SetKeyword

func (r *DescribePermissionsRequest) SetKeyword(keyword string)

param keyword: 关键字(Optional)

func (*DescribePermissionsRequest) SetPageNumber

func (r *DescribePermissionsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码(Required)

func (*DescribePermissionsRequest) SetPageSize

func (r *DescribePermissionsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示数目(Required)

func (*DescribePermissionsRequest) SetQueryType

func (r *DescribePermissionsRequest) SetQueryType(queryType int)

param queryType: 权限类型,0-全部,1-系统权限,2-自定义权限(Required)

func (*DescribePermissionsRequest) SetRegionId

func (r *DescribePermissionsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribePermissionsResponse

type DescribePermissionsResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribePermissionsResult `json:"result"`
}

type DescribePermissionsResult

type DescribePermissionsResult struct {
	Total       int              `json:"total"`
	Permissions []iam.Permission `json:"permissions"`
}

type DescribePoliciesRequest

type DescribePoliciesRequest struct {
	core.JDCloudRequest

	/* 页码,默认1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认50,取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 关键字 (Optional) */
	Keyword *string `json:"keyword"`

	/* 策略类型:0-全部(默认),1-系统策略,2-自定义策略 (Optional) */
	QueryType *int `json:"queryType"`

	/* 排序规则:0-创建时间顺序排序,1-创建时间倒序排序 (Optional) */
	Sort *int `json:"sort"`
}

func NewDescribePoliciesRequest

func NewDescribePoliciesRequest() *DescribePoliciesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribePoliciesRequestWithAllParams

func NewDescribePoliciesRequestWithAllParams(
	pageNumber *int,
	pageSize *int,
	keyword *string,
	queryType *int,
	sort *int,
) *DescribePoliciesRequest

* param pageNumber: 页码,默认1 (Optional) * param pageSize: 分页大小,默认50,取值范围[10, 100] (Optional) * param keyword: 关键字 (Optional) * param queryType: 策略类型:0-全部(默认),1-系统策略,2-自定义策略 (Optional) * param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序 (Optional)

func NewDescribePoliciesRequestWithoutParam

func NewDescribePoliciesRequestWithoutParam() *DescribePoliciesRequest

This constructor has better compatible ability when API parameters changed

func (DescribePoliciesRequest) GetRegionId

func (r DescribePoliciesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribePoliciesRequest) SetKeyword

func (r *DescribePoliciesRequest) SetKeyword(keyword string)

param keyword: 关键字(Optional)

func (*DescribePoliciesRequest) SetPageNumber

func (r *DescribePoliciesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码,默认1(Optional)

func (*DescribePoliciesRequest) SetPageSize

func (r *DescribePoliciesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)

func (*DescribePoliciesRequest) SetQueryType

func (r *DescribePoliciesRequest) SetQueryType(queryType int)

param queryType: 策略类型:0-全部(默认),1-系统策略,2-自定义策略(Optional)

func (*DescribePoliciesRequest) SetSort

func (r *DescribePoliciesRequest) SetSort(sort int)

param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序(Optional)

type DescribePoliciesResponse

type DescribePoliciesResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribePoliciesResult `json:"result"`
}

type DescribePoliciesResult

type DescribePoliciesResult struct {
	Total    int          `json:"total"`
	Policies []iam.Policy `json:"policies"`
}

type DescribePolicyRequest

type DescribePolicyRequest struct {
	core.JDCloudRequest

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewDescribePolicyRequest

func NewDescribePolicyRequest(
	policyName string,
) *DescribePolicyRequest

* param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribePolicyRequestWithAllParams

func NewDescribePolicyRequestWithAllParams(
	policyName string,
) *DescribePolicyRequest

* param policyName: 策略名称 (Required)

func NewDescribePolicyRequestWithoutParam

func NewDescribePolicyRequestWithoutParam() *DescribePolicyRequest

This constructor has better compatible ability when API parameters changed

func (DescribePolicyRequest) GetRegionId

func (r DescribePolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribePolicyRequest) SetPolicyName

func (r *DescribePolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

type DescribePolicyResponse

type DescribePolicyResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DescribePolicyResult `json:"result"`
}

type DescribePolicyResult

type DescribePolicyResult struct {
	Policy iam.PolicyDetail `json:"policy"`
}

type DescribeRolePoliciesRequest

type DescribeRolePoliciesRequest struct {
	core.JDCloudRequest

	/* 角色名称  */
	RoleName string `json:"roleName"`

	/* 页码 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示数目[10~100] 默认50条 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 关键字 (Optional) */
	Keyword *string `json:"keyword"`

	/* 排序策略,0-按创建时间顺序排序  1-按创建时间倒序  */
	Sort int `json:"sort"`
}

func NewDescribeRolePoliciesRequest

func NewDescribeRolePoliciesRequest(
	roleName string,
	sort int,
) *DescribeRolePoliciesRequest

* param roleName: 角色名称 (Required) * param sort: 排序策略,0-按创建时间顺序排序 1-按创建时间倒序 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeRolePoliciesRequestWithAllParams

func NewDescribeRolePoliciesRequestWithAllParams(
	roleName string,
	pageNumber *int,
	pageSize *int,
	keyword *string,
	sort int,
) *DescribeRolePoliciesRequest

* param roleName: 角色名称 (Required) * param pageNumber: 页码 (Optional) * param pageSize: 每页显示数目[10~100] 默认50条 (Optional) * param keyword: 关键字 (Optional) * param sort: 排序策略,0-按创建时间顺序排序 1-按创建时间倒序 (Required)

func NewDescribeRolePoliciesRequestWithoutParam

func NewDescribeRolePoliciesRequestWithoutParam() *DescribeRolePoliciesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRolePoliciesRequest) GetRegionId

func (r DescribeRolePoliciesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeRolePoliciesRequest) SetKeyword

func (r *DescribeRolePoliciesRequest) SetKeyword(keyword string)

param keyword: 关键字(Optional)

func (*DescribeRolePoliciesRequest) SetPageNumber

func (r *DescribeRolePoliciesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码(Optional)

func (*DescribeRolePoliciesRequest) SetPageSize

func (r *DescribeRolePoliciesRequest) SetPageSize(pageSize int)

param pageSize: 每页显示数目[10~100] 默认50条(Optional)

func (*DescribeRolePoliciesRequest) SetRoleName

func (r *DescribeRolePoliciesRequest) SetRoleName(roleName string)

param roleName: 角色名称(Required)

func (*DescribeRolePoliciesRequest) SetSort

func (r *DescribeRolePoliciesRequest) SetSort(sort int)

param sort: 排序策略,0-按创建时间顺序排序 1-按创建时间倒序(Required)

type DescribeRolePoliciesResponse

type DescribeRolePoliciesResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeRolePoliciesResult `json:"result"`
}

type DescribeRolePoliciesResult

type DescribeRolePoliciesResult struct {
	Total    int              `json:"total"`
	Policies []iam.RolePolicy `json:"policies"`
}

type DescribeRoleRequest

type DescribeRoleRequest struct {
	core.JDCloudRequest

	/* 角色名称  */
	RoleName string `json:"roleName"`
}

func NewDescribeRoleRequest

func NewDescribeRoleRequest(
	roleName string,
) *DescribeRoleRequest

* param roleName: 角色名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeRoleRequestWithAllParams

func NewDescribeRoleRequestWithAllParams(
	roleName string,
) *DescribeRoleRequest

* param roleName: 角色名称 (Required)

func NewDescribeRoleRequestWithoutParam

func NewDescribeRoleRequestWithoutParam() *DescribeRoleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRoleRequest) GetRegionId

func (r DescribeRoleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeRoleRequest) SetRoleName

func (r *DescribeRoleRequest) SetRoleName(roleName string)

param roleName: 角色名称(Required)

type DescribeRoleResponse

type DescribeRoleResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DescribeRoleResult `json:"result"`
}

type DescribeRoleResult

type DescribeRoleResult struct {
	RoleInfo iam.RoleInfo `json:"roleInfo"`
}

type DescribeRolesRequest

type DescribeRolesRequest struct {
	core.JDCloudRequest

	/* 页码,默认1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认50,取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 角色名称关键词 (Optional) */
	RoleName *string `json:"roleName"`

	/* 角色类型,默认查找所有类型,2-服务相关角色,3-服务角色,4-用户角色 (Optional) */
	Type *int `json:"type"`

	/* 排序策略,0-按创建时间顺序排序,1-按创建时间倒序排序 (Optional) */
	Sort *int `json:"sort"`
}

func NewDescribeRolesRequest

func NewDescribeRolesRequest() *DescribeRolesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeRolesRequestWithAllParams

func NewDescribeRolesRequestWithAllParams(
	pageNumber *int,
	pageSize *int,
	roleName *string,
	type_ *int,
	sort *int,
) *DescribeRolesRequest

* param pageNumber: 页码,默认1 (Optional) * param pageSize: 分页大小,默认50,取值范围[10, 100] (Optional) * param roleName: 角色名称关键词 (Optional) * param type_: 角色类型,默认查找所有类型,2-服务相关角色,3-服务角色,4-用户角色 (Optional) * param sort: 排序策略,0-按创建时间顺序排序,1-按创建时间倒序排序 (Optional)

func NewDescribeRolesRequestWithoutParam

func NewDescribeRolesRequestWithoutParam() *DescribeRolesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRolesRequest) GetRegionId

func (r DescribeRolesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeRolesRequest) SetPageNumber

func (r *DescribeRolesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码,默认1(Optional)

func (*DescribeRolesRequest) SetPageSize

func (r *DescribeRolesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)

func (*DescribeRolesRequest) SetRoleName

func (r *DescribeRolesRequest) SetRoleName(roleName string)

param roleName: 角色名称关键词(Optional)

func (*DescribeRolesRequest) SetSort

func (r *DescribeRolesRequest) SetSort(sort int)

param sort: 排序策略,0-按创建时间顺序排序,1-按创建时间倒序排序(Optional)

func (*DescribeRolesRequest) SetType

func (r *DescribeRolesRequest) SetType(type_ int)

param type_: 角色类型,默认查找所有类型,2-服务相关角色,3-服务角色,4-用户角色(Optional)

type DescribeRolesResponse

type DescribeRolesResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DescribeRolesResult `json:"result"`
}

type DescribeRolesResult

type DescribeRolesResult struct {
	Total int                `json:"total"`
	Roles []iam.ListRoleInfo `json:"roles"`
}

type DescribeSubUserGroupsRequest

type DescribeSubUserGroupsRequest struct {
	core.JDCloudRequest

	/* 子用户名  */
	SubUser string `json:"subUser"`
}

func NewDescribeSubUserGroupsRequest

func NewDescribeSubUserGroupsRequest(
	subUser string,
) *DescribeSubUserGroupsRequest

* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSubUserGroupsRequestWithAllParams

func NewDescribeSubUserGroupsRequestWithAllParams(
	subUser string,
) *DescribeSubUserGroupsRequest

* param subUser: 子用户名 (Required)

func NewDescribeSubUserGroupsRequestWithoutParam

func NewDescribeSubUserGroupsRequestWithoutParam() *DescribeSubUserGroupsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSubUserGroupsRequest) GetRegionId

func (r DescribeSubUserGroupsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSubUserGroupsRequest) SetSubUser

func (r *DescribeSubUserGroupsRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type DescribeSubUserGroupsResponse

type DescribeSubUserGroupsResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeSubUserGroupsResult `json:"result"`
}

type DescribeSubUserGroupsResult

type DescribeSubUserGroupsResult struct {
	Groups []iam.GroupInfo `json:"groups"`
	Total  int             `json:"total"`
}

type DescribeSubUserPermissionsRequest

type DescribeSubUserPermissionsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 子用户用户名  */
	SubUser string `json:"subUser"`

	/* 页码  */
	PageNumber int `json:"pageNumber"`

	/* 每页显示数目  */
	PageSize int `json:"pageSize"`
}

func NewDescribeSubUserPermissionsRequest

func NewDescribeSubUserPermissionsRequest(
	regionId string,
	subUser string,
	pageNumber int,
	pageSize int,
) *DescribeSubUserPermissionsRequest

* param regionId: Region ID (Required) * param subUser: 子用户用户名 (Required) * param pageNumber: 页码 (Required) * param pageSize: 每页显示数目 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSubUserPermissionsRequestWithAllParams

func NewDescribeSubUserPermissionsRequestWithAllParams(
	regionId string,
	subUser string,
	pageNumber int,
	pageSize int,
) *DescribeSubUserPermissionsRequest

* param regionId: Region ID (Required) * param subUser: 子用户用户名 (Required) * param pageNumber: 页码 (Required) * param pageSize: 每页显示数目 (Required)

func NewDescribeSubUserPermissionsRequestWithoutParam

func NewDescribeSubUserPermissionsRequestWithoutParam() *DescribeSubUserPermissionsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSubUserPermissionsRequest) GetRegionId

func (r DescribeSubUserPermissionsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSubUserPermissionsRequest) SetPageNumber

func (r *DescribeSubUserPermissionsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码(Required)

func (*DescribeSubUserPermissionsRequest) SetPageSize

func (r *DescribeSubUserPermissionsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示数目(Required)

func (*DescribeSubUserPermissionsRequest) SetRegionId

func (r *DescribeSubUserPermissionsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeSubUserPermissionsRequest) SetSubUser

func (r *DescribeSubUserPermissionsRequest) SetSubUser(subUser string)

param subUser: 子用户用户名(Required)

type DescribeSubUserPermissionsResponse

type DescribeSubUserPermissionsResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DescribeSubUserPermissionsResult `json:"result"`
}

type DescribeSubUserPermissionsResult

type DescribeSubUserPermissionsResult struct {
	Total       int              `json:"total"`
	Permissions []iam.Permission `json:"permissions"`
}

type DescribeSubUserRequest

type DescribeSubUserRequest struct {
	core.JDCloudRequest

	/* 子用户名  */
	SubUser string `json:"subUser"`
}

func NewDescribeSubUserRequest

func NewDescribeSubUserRequest(
	subUser string,
) *DescribeSubUserRequest

* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSubUserRequestWithAllParams

func NewDescribeSubUserRequestWithAllParams(
	subUser string,
) *DescribeSubUserRequest

* param subUser: 子用户名 (Required)

func NewDescribeSubUserRequestWithoutParam

func NewDescribeSubUserRequestWithoutParam() *DescribeSubUserRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSubUserRequest) GetRegionId

func (r DescribeSubUserRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSubUserRequest) SetSubUser

func (r *DescribeSubUserRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type DescribeSubUserResponse

type DescribeSubUserResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeSubUserResult `json:"result"`
}

type DescribeSubUserResult

type DescribeSubUserResult struct {
	SubUser iam.SubUser `json:"subUser"`
}

type DescribeSubUsersRequest

type DescribeSubUsersRequest struct {
	core.JDCloudRequest

	/* 页码,默认1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认50,取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 关键字 (Optional) */
	Keyword *string `json:"keyword"`

	/* 排序规则:0-创建时间顺序排序,1-创建时间倒序排序 (Optional) */
	Sort *int `json:"sort"`
}

func NewDescribeSubUsersRequest

func NewDescribeSubUsersRequest() *DescribeSubUsersRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSubUsersRequestWithAllParams

func NewDescribeSubUsersRequestWithAllParams(
	pageNumber *int,
	pageSize *int,
	keyword *string,
	sort *int,
) *DescribeSubUsersRequest

* param pageNumber: 页码,默认1 (Optional) * param pageSize: 分页大小,默认50,取值范围[10, 100] (Optional) * param keyword: 关键字 (Optional) * param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序 (Optional)

func NewDescribeSubUsersRequestWithoutParam

func NewDescribeSubUsersRequestWithoutParam() *DescribeSubUsersRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSubUsersRequest) GetRegionId

func (r DescribeSubUsersRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSubUsersRequest) SetKeyword

func (r *DescribeSubUsersRequest) SetKeyword(keyword string)

param keyword: 关键字(Optional)

func (*DescribeSubUsersRequest) SetPageNumber

func (r *DescribeSubUsersRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码,默认1(Optional)

func (*DescribeSubUsersRequest) SetPageSize

func (r *DescribeSubUsersRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)

func (*DescribeSubUsersRequest) SetSort

func (r *DescribeSubUsersRequest) SetSort(sort int)

param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序(Optional)

type DescribeSubUsersResponse

type DescribeSubUsersResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeSubUsersResult `json:"result"`
}

type DescribeSubUsersResult

type DescribeSubUsersResult struct {
	SubUsers []iam.SubUser `json:"subUsers"`
	Total    int           `json:"total"`
}

type DescribeUserAccessKeysRequest

type DescribeUserAccessKeysRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`
}

func NewDescribeUserAccessKeysRequest

func NewDescribeUserAccessKeysRequest(
	regionId string,
) *DescribeUserAccessKeysRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeUserAccessKeysRequestWithAllParams

func NewDescribeUserAccessKeysRequestWithAllParams(
	regionId string,
) *DescribeUserAccessKeysRequest

* param regionId: Region ID (Required)

func NewDescribeUserAccessKeysRequestWithoutParam

func NewDescribeUserAccessKeysRequestWithoutParam() *DescribeUserAccessKeysRequest

This constructor has better compatible ability when API parameters changed

func (DescribeUserAccessKeysRequest) GetRegionId

func (r DescribeUserAccessKeysRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeUserAccessKeysRequest) SetRegionId

func (r *DescribeUserAccessKeysRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeUserAccessKeysResponse

type DescribeUserAccessKeysResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DescribeUserAccessKeysResult `json:"result"`
}

type DescribeUserAccessKeysResult

type DescribeUserAccessKeysResult struct {
	UserAccessKeys []iam.UserAccessKey `json:"userAccessKeys"`
}

type DetachGroupPolicyRequest

type DetachGroupPolicyRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewDetachGroupPolicyRequest

func NewDetachGroupPolicyRequest(
	groupName string,
	policyName string,
) *DetachGroupPolicyRequest

* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDetachGroupPolicyRequestWithAllParams

func NewDetachGroupPolicyRequestWithAllParams(
	groupName string,
	policyName string,
) *DetachGroupPolicyRequest

* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required)

func NewDetachGroupPolicyRequestWithoutParam

func NewDetachGroupPolicyRequestWithoutParam() *DetachGroupPolicyRequest

This constructor has better compatible ability when API parameters changed

func (DetachGroupPolicyRequest) GetRegionId

func (r DetachGroupPolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DetachGroupPolicyRequest) SetGroupName

func (r *DetachGroupPolicyRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

func (*DetachGroupPolicyRequest) SetPolicyName

func (r *DetachGroupPolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

type DetachGroupPolicyResponse

type DetachGroupPolicyResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DetachGroupPolicyResult `json:"result"`
}

type DetachGroupPolicyResult

type DetachGroupPolicyResult struct {
}

type DetachRolePolicyRequest

type DetachRolePolicyRequest struct {
	core.JDCloudRequest

	/* 角色名称  */
	RoleName string `json:"roleName"`

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewDetachRolePolicyRequest

func NewDetachRolePolicyRequest(
	roleName string,
	policyName string,
) *DetachRolePolicyRequest

* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDetachRolePolicyRequestWithAllParams

func NewDetachRolePolicyRequestWithAllParams(
	roleName string,
	policyName string,
) *DetachRolePolicyRequest

* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required)

func NewDetachRolePolicyRequestWithoutParam

func NewDetachRolePolicyRequestWithoutParam() *DetachRolePolicyRequest

This constructor has better compatible ability when API parameters changed

func (DetachRolePolicyRequest) GetRegionId

func (r DetachRolePolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DetachRolePolicyRequest) SetPolicyName

func (r *DetachRolePolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

func (*DetachRolePolicyRequest) SetRoleName

func (r *DetachRolePolicyRequest) SetRoleName(roleName string)

param roleName: 角色名称(Required)

type DetachRolePolicyResponse

type DetachRolePolicyResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DetachRolePolicyResult `json:"result"`
}

type DetachRolePolicyResult

type DetachRolePolicyResult struct {
}

type DetachSubUserPolicyRequest

type DetachSubUserPolicyRequest struct {
	core.JDCloudRequest

	/* 子用户名  */
	SubUser string `json:"subUser"`

	/* 策略名称  */
	PolicyName string `json:"policyName"`
}

func NewDetachSubUserPolicyRequest

func NewDetachSubUserPolicyRequest(
	subUser string,
	policyName string,
) *DetachSubUserPolicyRequest

* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDetachSubUserPolicyRequestWithAllParams

func NewDetachSubUserPolicyRequestWithAllParams(
	subUser string,
	policyName string,
) *DetachSubUserPolicyRequest

* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required)

func NewDetachSubUserPolicyRequestWithoutParam

func NewDetachSubUserPolicyRequestWithoutParam() *DetachSubUserPolicyRequest

This constructor has better compatible ability when API parameters changed

func (DetachSubUserPolicyRequest) GetRegionId

func (r DetachSubUserPolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DetachSubUserPolicyRequest) SetPolicyName

func (r *DetachSubUserPolicyRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

func (*DetachSubUserPolicyRequest) SetSubUser

func (r *DetachSubUserPolicyRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type DetachSubUserPolicyResponse

type DetachSubUserPolicyResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DetachSubUserPolicyResult `json:"result"`
}

type DetachSubUserPolicyResult

type DetachSubUserPolicyResult struct {
}

type DisableSubUserAccessKeyRequest

type DisableSubUserAccessKeyRequest struct {
	core.JDCloudRequest

	/* 子用户名称  */
	SubUser string `json:"subUser"`

	/* accessKey  */
	AccessKey string `json:"accessKey"`
}

func NewDisableSubUserAccessKeyRequest

func NewDisableSubUserAccessKeyRequest(
	subUser string,
	accessKey string,
) *DisableSubUserAccessKeyRequest

* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableSubUserAccessKeyRequestWithAllParams

func NewDisableSubUserAccessKeyRequestWithAllParams(
	subUser string,
	accessKey string,
) *DisableSubUserAccessKeyRequest

* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required)

func NewDisableSubUserAccessKeyRequestWithoutParam

func NewDisableSubUserAccessKeyRequestWithoutParam() *DisableSubUserAccessKeyRequest

This constructor has better compatible ability when API parameters changed

func (DisableSubUserAccessKeyRequest) GetRegionId

func (r DisableSubUserAccessKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableSubUserAccessKeyRequest) SetAccessKey

func (r *DisableSubUserAccessKeyRequest) SetAccessKey(accessKey string)

param accessKey: accessKey(Required)

func (*DisableSubUserAccessKeyRequest) SetSubUser

func (r *DisableSubUserAccessKeyRequest) SetSubUser(subUser string)

param subUser: 子用户名称(Required)

type DisableSubUserAccessKeyResponse

type DisableSubUserAccessKeyResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DisableSubUserAccessKeyResult `json:"result"`
}

type DisableSubUserAccessKeyResult

type DisableSubUserAccessKeyResult struct {
}

type DisabledUserAccessKeyRequest

type DisabledUserAccessKeyRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* accessKey  */
	AccessKey string `json:"accessKey"`
}

func NewDisabledUserAccessKeyRequest

func NewDisabledUserAccessKeyRequest(
	regionId string,
	accessKey string,
) *DisabledUserAccessKeyRequest

* param regionId: Region ID (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisabledUserAccessKeyRequestWithAllParams

func NewDisabledUserAccessKeyRequestWithAllParams(
	regionId string,
	accessKey string,
) *DisabledUserAccessKeyRequest

* param regionId: Region ID (Required) * param accessKey: accessKey (Required)

func NewDisabledUserAccessKeyRequestWithoutParam

func NewDisabledUserAccessKeyRequestWithoutParam() *DisabledUserAccessKeyRequest

This constructor has better compatible ability when API parameters changed

func (DisabledUserAccessKeyRequest) GetRegionId

func (r DisabledUserAccessKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisabledUserAccessKeyRequest) SetAccessKey

func (r *DisabledUserAccessKeyRequest) SetAccessKey(accessKey string)

param accessKey: accessKey(Required)

func (*DisabledUserAccessKeyRequest) SetRegionId

func (r *DisabledUserAccessKeyRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisabledUserAccessKeyResponse

type DisabledUserAccessKeyResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DisabledUserAccessKeyResult `json:"result"`
}

type DisabledUserAccessKeyResult

type DisabledUserAccessKeyResult struct {
}

type EnableSubUserAccessKeyRequest

type EnableSubUserAccessKeyRequest struct {
	core.JDCloudRequest

	/* 子用户名称  */
	SubUser string `json:"subUser"`

	/* accessKey  */
	AccessKey string `json:"accessKey"`
}

func NewEnableSubUserAccessKeyRequest

func NewEnableSubUserAccessKeyRequest(
	subUser string,
	accessKey string,
) *EnableSubUserAccessKeyRequest

* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableSubUserAccessKeyRequestWithAllParams

func NewEnableSubUserAccessKeyRequestWithAllParams(
	subUser string,
	accessKey string,
) *EnableSubUserAccessKeyRequest

* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required)

func NewEnableSubUserAccessKeyRequestWithoutParam

func NewEnableSubUserAccessKeyRequestWithoutParam() *EnableSubUserAccessKeyRequest

This constructor has better compatible ability when API parameters changed

func (EnableSubUserAccessKeyRequest) GetRegionId

func (r EnableSubUserAccessKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableSubUserAccessKeyRequest) SetAccessKey

func (r *EnableSubUserAccessKeyRequest) SetAccessKey(accessKey string)

param accessKey: accessKey(Required)

func (*EnableSubUserAccessKeyRequest) SetSubUser

func (r *EnableSubUserAccessKeyRequest) SetSubUser(subUser string)

param subUser: 子用户名称(Required)

type EnableSubUserAccessKeyResponse

type EnableSubUserAccessKeyResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    EnableSubUserAccessKeyResult `json:"result"`
}

type EnableSubUserAccessKeyResult

type EnableSubUserAccessKeyResult struct {
}

type EnabledUserAccessKeyRequest

type EnabledUserAccessKeyRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* accessKey  */
	AccessKey string `json:"accessKey"`
}

func NewEnabledUserAccessKeyRequest

func NewEnabledUserAccessKeyRequest(
	regionId string,
	accessKey string,
) *EnabledUserAccessKeyRequest

* param regionId: Region ID (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnabledUserAccessKeyRequestWithAllParams

func NewEnabledUserAccessKeyRequestWithAllParams(
	regionId string,
	accessKey string,
) *EnabledUserAccessKeyRequest

* param regionId: Region ID (Required) * param accessKey: accessKey (Required)

func NewEnabledUserAccessKeyRequestWithoutParam

func NewEnabledUserAccessKeyRequestWithoutParam() *EnabledUserAccessKeyRequest

This constructor has better compatible ability when API parameters changed

func (EnabledUserAccessKeyRequest) GetRegionId

func (r EnabledUserAccessKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnabledUserAccessKeyRequest) SetAccessKey

func (r *EnabledUserAccessKeyRequest) SetAccessKey(accessKey string)

param accessKey: accessKey(Required)

func (*EnabledUserAccessKeyRequest) SetRegionId

func (r *EnabledUserAccessKeyRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnabledUserAccessKeyResponse

type EnabledUserAccessKeyResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    EnabledUserAccessKeyResult `json:"result"`
}

type EnabledUserAccessKeyResult

type EnabledUserAccessKeyResult struct {
}

type RemovePermissionOfSubUserRequest

type RemovePermissionOfSubUserRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 权限id  */
	PermissionId int `json:"permissionId"`

	/* 子用户用户名  */
	SubUser string `json:"subUser"`
}

func NewRemovePermissionOfSubUserRequest

func NewRemovePermissionOfSubUserRequest(
	regionId string,
	permissionId int,
	subUser string,
) *RemovePermissionOfSubUserRequest

* param regionId: Region ID (Required) * param permissionId: 权限id (Required) * param subUser: 子用户用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRemovePermissionOfSubUserRequestWithAllParams

func NewRemovePermissionOfSubUserRequestWithAllParams(
	regionId string,
	permissionId int,
	subUser string,
) *RemovePermissionOfSubUserRequest

* param regionId: Region ID (Required) * param permissionId: 权限id (Required) * param subUser: 子用户用户名 (Required)

func NewRemovePermissionOfSubUserRequestWithoutParam

func NewRemovePermissionOfSubUserRequestWithoutParam() *RemovePermissionOfSubUserRequest

This constructor has better compatible ability when API parameters changed

func (RemovePermissionOfSubUserRequest) GetRegionId

func (r RemovePermissionOfSubUserRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RemovePermissionOfSubUserRequest) SetPermissionId

func (r *RemovePermissionOfSubUserRequest) SetPermissionId(permissionId int)

param permissionId: 权限id(Required)

func (*RemovePermissionOfSubUserRequest) SetRegionId

func (r *RemovePermissionOfSubUserRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*RemovePermissionOfSubUserRequest) SetSubUser

func (r *RemovePermissionOfSubUserRequest) SetSubUser(subUser string)

param subUser: 子用户用户名(Required)

type RemovePermissionOfSubUserResponse

type RemovePermissionOfSubUserResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    RemovePermissionOfSubUserResult `json:"result"`
}

type RemovePermissionOfSubUserResult

type RemovePermissionOfSubUserResult struct {
}

type RemoveSubUserFromGroupRequest

type RemoveSubUserFromGroupRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`

	/* 子用户名  */
	SubUser string `json:"subUser"`
}

func NewRemoveSubUserFromGroupRequest

func NewRemoveSubUserFromGroupRequest(
	groupName string,
	subUser string,
) *RemoveSubUserFromGroupRequest

* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRemoveSubUserFromGroupRequestWithAllParams

func NewRemoveSubUserFromGroupRequestWithAllParams(
	groupName string,
	subUser string,
) *RemoveSubUserFromGroupRequest

* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required)

func NewRemoveSubUserFromGroupRequestWithoutParam

func NewRemoveSubUserFromGroupRequestWithoutParam() *RemoveSubUserFromGroupRequest

This constructor has better compatible ability when API parameters changed

func (RemoveSubUserFromGroupRequest) GetRegionId

func (r RemoveSubUserFromGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RemoveSubUserFromGroupRequest) SetGroupName

func (r *RemoveSubUserFromGroupRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

func (*RemoveSubUserFromGroupRequest) SetSubUser

func (r *RemoveSubUserFromGroupRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

type RemoveSubUserFromGroupResponse

type RemoveSubUserFromGroupResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    RemoveSubUserFromGroupResult `json:"result"`
}

type RemoveSubUserFromGroupResult

type RemoveSubUserFromGroupResult struct {
}

type UpdateAssumeRolePolicyRequest

type UpdateAssumeRolePolicyRequest struct {
	core.JDCloudRequest

	/* 角色名称  */
	RoleName string `json:"roleName"`

	/* 角色权限信息  */
	UpdateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo `json:"updateAssumeRolePolicyInfo"`
}

func NewUpdateAssumeRolePolicyRequest

func NewUpdateAssumeRolePolicyRequest(
	roleName string,
	updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo,
) *UpdateAssumeRolePolicyRequest

* param roleName: 角色名称 (Required) * param updateAssumeRolePolicyInfo: 角色权限信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUpdateAssumeRolePolicyRequestWithAllParams

func NewUpdateAssumeRolePolicyRequestWithAllParams(
	roleName string,
	updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo,
) *UpdateAssumeRolePolicyRequest

* param roleName: 角色名称 (Required) * param updateAssumeRolePolicyInfo: 角色权限信息 (Required)

func NewUpdateAssumeRolePolicyRequestWithoutParam

func NewUpdateAssumeRolePolicyRequestWithoutParam() *UpdateAssumeRolePolicyRequest

This constructor has better compatible ability when API parameters changed

func (UpdateAssumeRolePolicyRequest) GetRegionId

func (r UpdateAssumeRolePolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UpdateAssumeRolePolicyRequest) SetRoleName

func (r *UpdateAssumeRolePolicyRequest) SetRoleName(roleName string)

param roleName: 角色名称(Required)

func (*UpdateAssumeRolePolicyRequest) SetUpdateAssumeRolePolicyInfo

func (r *UpdateAssumeRolePolicyRequest) SetUpdateAssumeRolePolicyInfo(updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo)

param updateAssumeRolePolicyInfo: 角色权限信息(Required)

type UpdateAssumeRolePolicyResponse

type UpdateAssumeRolePolicyResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    UpdateAssumeRolePolicyResult `json:"result"`
}

type UpdateAssumeRolePolicyResult

type UpdateAssumeRolePolicyResult struct {
}

type UpdateGroupRequest

type UpdateGroupRequest struct {
	core.JDCloudRequest

	/* 用户组名称  */
	GroupName string `json:"groupName"`

	/*   */
	UpdateGroupInfo *iam.UpdateGroupInfo `json:"updateGroupInfo"`
}

func NewUpdateGroupRequest

func NewUpdateGroupRequest(
	groupName string,
	updateGroupInfo *iam.UpdateGroupInfo,
) *UpdateGroupRequest

* param groupName: 用户组名称 (Required) * param updateGroupInfo: (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUpdateGroupRequestWithAllParams

func NewUpdateGroupRequestWithAllParams(
	groupName string,
	updateGroupInfo *iam.UpdateGroupInfo,
) *UpdateGroupRequest

* param groupName: 用户组名称 (Required) * param updateGroupInfo: (Required)

func NewUpdateGroupRequestWithoutParam

func NewUpdateGroupRequestWithoutParam() *UpdateGroupRequest

This constructor has better compatible ability when API parameters changed

func (UpdateGroupRequest) GetRegionId

func (r UpdateGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UpdateGroupRequest) SetGroupName

func (r *UpdateGroupRequest) SetGroupName(groupName string)

param groupName: 用户组名称(Required)

func (*UpdateGroupRequest) SetUpdateGroupInfo

func (r *UpdateGroupRequest) SetUpdateGroupInfo(updateGroupInfo *iam.UpdateGroupInfo)

param updateGroupInfo: (Required)

type UpdateGroupResponse

type UpdateGroupResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    UpdateGroupResult  `json:"result"`
}

type UpdateGroupResult

type UpdateGroupResult struct {
}

type UpdatePermissionRequest

type UpdatePermissionRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 权限id  */
	PermissionId int `json:"permissionId"`

	/* 权限信息  */
	UpdatePermissionInfo *iam.UpdatePermissionInfo `json:"updatePermissionInfo"`
}

func NewUpdatePermissionRequest

func NewUpdatePermissionRequest(
	regionId string,
	permissionId int,
	updatePermissionInfo *iam.UpdatePermissionInfo,
) *UpdatePermissionRequest

* param regionId: Region ID (Required) * param permissionId: 权限id (Required) * param updatePermissionInfo: 权限信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUpdatePermissionRequestWithAllParams

func NewUpdatePermissionRequestWithAllParams(
	regionId string,
	permissionId int,
	updatePermissionInfo *iam.UpdatePermissionInfo,
) *UpdatePermissionRequest

* param regionId: Region ID (Required) * param permissionId: 权限id (Required) * param updatePermissionInfo: 权限信息 (Required)

func NewUpdatePermissionRequestWithoutParam

func NewUpdatePermissionRequestWithoutParam() *UpdatePermissionRequest

This constructor has better compatible ability when API parameters changed

func (UpdatePermissionRequest) GetRegionId

func (r UpdatePermissionRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UpdatePermissionRequest) SetPermissionId

func (r *UpdatePermissionRequest) SetPermissionId(permissionId int)

param permissionId: 权限id(Required)

func (*UpdatePermissionRequest) SetRegionId

func (r *UpdatePermissionRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*UpdatePermissionRequest) SetUpdatePermissionInfo

func (r *UpdatePermissionRequest) SetUpdatePermissionInfo(updatePermissionInfo *iam.UpdatePermissionInfo)

param updatePermissionInfo: 权限信息(Required)

type UpdatePermissionResponse

type UpdatePermissionResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    UpdatePermissionResult `json:"result"`
}

type UpdatePermissionResult

type UpdatePermissionResult struct {
}

type UpdatePolicyDescriptionRequest

type UpdatePolicyDescriptionRequest struct {
	core.JDCloudRequest

	/* 策略名称  */
	PolicyName string `json:"policyName"`

	/* 策略描述信息  */
	UpdatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo `json:"updatePolicyDescriptionInfo"`
}

func NewUpdatePolicyDescriptionRequest

func NewUpdatePolicyDescriptionRequest(
	policyName string,
	updatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo,
) *UpdatePolicyDescriptionRequest

* param policyName: 策略名称 (Required) * param updatePolicyDescriptionInfo: 策略描述信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUpdatePolicyDescriptionRequestWithAllParams

func NewUpdatePolicyDescriptionRequestWithAllParams(
	policyName string,
	updatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo,
) *UpdatePolicyDescriptionRequest

* param policyName: 策略名称 (Required) * param updatePolicyDescriptionInfo: 策略描述信息 (Required)

func NewUpdatePolicyDescriptionRequestWithoutParam

func NewUpdatePolicyDescriptionRequestWithoutParam() *UpdatePolicyDescriptionRequest

This constructor has better compatible ability when API parameters changed

func (UpdatePolicyDescriptionRequest) GetRegionId

func (r UpdatePolicyDescriptionRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UpdatePolicyDescriptionRequest) SetPolicyName

func (r *UpdatePolicyDescriptionRequest) SetPolicyName(policyName string)

param policyName: 策略名称(Required)

func (*UpdatePolicyDescriptionRequest) SetUpdatePolicyDescriptionInfo

func (r *UpdatePolicyDescriptionRequest) SetUpdatePolicyDescriptionInfo(updatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo)

param updatePolicyDescriptionInfo: 策略描述信息(Required)

type UpdatePolicyDescriptionResponse

type UpdatePolicyDescriptionResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    UpdatePolicyDescriptionResult `json:"result"`
}

type UpdatePolicyDescriptionResult

type UpdatePolicyDescriptionResult struct {
}

type UpdateSubUserRequest

type UpdateSubUserRequest struct {
	core.JDCloudRequest

	/* 子用户名  */
	SubUser string `json:"subUser"`

	/* 子用户信息  */
	UpdateSubUserInfo *iam.UpdateSubUserInfo `json:"updateSubUserInfo"`
}

func NewUpdateSubUserRequest

func NewUpdateSubUserRequest(
	subUser string,
	updateSubUserInfo *iam.UpdateSubUserInfo,
) *UpdateSubUserRequest

* param subUser: 子用户名 (Required) * param updateSubUserInfo: 子用户信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUpdateSubUserRequestWithAllParams

func NewUpdateSubUserRequestWithAllParams(
	subUser string,
	updateSubUserInfo *iam.UpdateSubUserInfo,
) *UpdateSubUserRequest

* param subUser: 子用户名 (Required) * param updateSubUserInfo: 子用户信息 (Required)

func NewUpdateSubUserRequestWithoutParam

func NewUpdateSubUserRequestWithoutParam() *UpdateSubUserRequest

This constructor has better compatible ability when API parameters changed

func (UpdateSubUserRequest) GetRegionId

func (r UpdateSubUserRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UpdateSubUserRequest) SetSubUser

func (r *UpdateSubUserRequest) SetSubUser(subUser string)

param subUser: 子用户名(Required)

func (*UpdateSubUserRequest) SetUpdateSubUserInfo

func (r *UpdateSubUserRequest) SetUpdateSubUserInfo(updateSubUserInfo *iam.UpdateSubUserInfo)

param updateSubUserInfo: 子用户信息(Required)

type UpdateSubUserResponse

type UpdateSubUserResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    UpdateSubUserResult `json:"result"`
}

type UpdateSubUserResult

type UpdateSubUserResult struct {
	SubUser iam.CreateSubUserRes `json:"subUser"`
}

Jump to

Keyboard shortcuts

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