Documentation ¶
Index ¶
- type AddPermissionsToSubUserRequest
- func NewAddPermissionsToSubUserRequest(regionId string, subUser string, addPermissionsInfo *iam.AddPermissionsInfo) *AddPermissionsToSubUserRequest
- func NewAddPermissionsToSubUserRequestWithAllParams(regionId string, subUser string, addPermissionsInfo *iam.AddPermissionsInfo) *AddPermissionsToSubUserRequest
- func NewAddPermissionsToSubUserRequestWithoutParam() *AddPermissionsToSubUserRequest
- func (r AddPermissionsToSubUserRequest) GetRegionId() string
- func (r *AddPermissionsToSubUserRequest) SetAddPermissionsInfo(addPermissionsInfo *iam.AddPermissionsInfo)
- func (r *AddPermissionsToSubUserRequest) SetRegionId(regionId string)
- func (r *AddPermissionsToSubUserRequest) SetSubUser(subUser string)
- type AddPermissionsToSubUserResponse
- type AddPermissionsToSubUserResult
- type AddSubUserToGroupRequest
- type AddSubUserToGroupResponse
- type AddSubUserToGroupResult
- type AttachGroupPolicyRequest
- type AttachGroupPolicyResponse
- type AttachGroupPolicyResult
- type AttachRolePolicyRequest
- type AttachRolePolicyResponse
- type AttachRolePolicyResult
- type AttachSubUserPolicyRequest
- type AttachSubUserPolicyResponse
- type AttachSubUserPolicyResult
- type CreateGroupRequest
- type CreateGroupResponse
- type CreateGroupResult
- type CreatePermissionRequest
- func NewCreatePermissionRequest(regionId string, createPermissionInfo *iam.CreatePermissionInfo) *CreatePermissionRequest
- func NewCreatePermissionRequestWithAllParams(regionId string, createPermissionInfo *iam.CreatePermissionInfo) *CreatePermissionRequest
- func NewCreatePermissionRequestWithoutParam() *CreatePermissionRequest
- type CreatePermissionResponse
- type CreatePermissionResult
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreatePolicyResult
- type CreateRoleRequest
- type CreateRoleResponse
- type CreateRoleResult
- type CreateSubUserRequest
- type CreateSubUserResponse
- type CreateSubUserResult
- type CreateUserAccessKeyRequest
- type CreateUserAccessKeyResponse
- type CreateUserAccessKeyResult
- type DeleteGroupRequest
- type DeleteGroupResponse
- type DeleteGroupResult
- type DeletePolicyRequest
- type DeletePolicyResponse
- type DeletePolicyResult
- type DeleteRoleRequest
- type DeleteRoleResponse
- type DeleteRoleResult
- type DeleteSubUserAccessKeyRequest
- func NewDeleteSubUserAccessKeyRequest(subUser string, accessKey string) *DeleteSubUserAccessKeyRequest
- func NewDeleteSubUserAccessKeyRequestWithAllParams(subUser string, accessKey string) *DeleteSubUserAccessKeyRequest
- func NewDeleteSubUserAccessKeyRequestWithoutParam() *DeleteSubUserAccessKeyRequest
- type DeleteSubUserAccessKeyResponse
- type DeleteSubUserAccessKeyResult
- type DeleteSubUserRequest
- type DeleteSubUserResponse
- type DeleteSubUserResult
- type DeleteUserAccessKeyRequest
- type DeleteUserAccessKeyResponse
- type DeleteUserAccessKeyResult
- type DescribeAttachedGroupPoliciesRequest
- func NewDescribeAttachedGroupPoliciesRequest(groupName string) *DescribeAttachedGroupPoliciesRequest
- func NewDescribeAttachedGroupPoliciesRequestWithAllParams(groupName string) *DescribeAttachedGroupPoliciesRequest
- func NewDescribeAttachedGroupPoliciesRequestWithoutParam() *DescribeAttachedGroupPoliciesRequest
- type DescribeAttachedGroupPoliciesResponse
- type DescribeAttachedGroupPoliciesResult
- type DescribeAttachedSubUserPoliciesRequest
- func NewDescribeAttachedSubUserPoliciesRequest(subUser string) *DescribeAttachedSubUserPoliciesRequest
- func NewDescribeAttachedSubUserPoliciesRequestWithAllParams(subUser string) *DescribeAttachedSubUserPoliciesRequest
- func NewDescribeAttachedSubUserPoliciesRequestWithoutParam() *DescribeAttachedSubUserPoliciesRequest
- type DescribeAttachedSubUserPoliciesResponse
- type DescribeAttachedSubUserPoliciesResult
- type DescribeGroupRequest
- type DescribeGroupResponse
- type DescribeGroupResult
- type DescribeGroupSubUsersRequest
- type DescribeGroupSubUsersResponse
- type DescribeGroupSubUsersResult
- type DescribeGroupsRequest
- type DescribeGroupsResponse
- type DescribeGroupsResult
- type DescribePermissionDetailRequest
- func NewDescribePermissionDetailRequest(regionId string, permissionId int) *DescribePermissionDetailRequest
- func NewDescribePermissionDetailRequestWithAllParams(regionId string, permissionId int) *DescribePermissionDetailRequest
- func NewDescribePermissionDetailRequestWithoutParam() *DescribePermissionDetailRequest
- type DescribePermissionDetailResponse
- type DescribePermissionDetailResult
- type DescribePermissionsRequest
- func NewDescribePermissionsRequest(regionId string, pageNumber int, pageSize int, queryType int) *DescribePermissionsRequest
- func NewDescribePermissionsRequestWithAllParams(regionId string, pageNumber int, pageSize int, keyword *string, queryType int) *DescribePermissionsRequest
- func NewDescribePermissionsRequestWithoutParam() *DescribePermissionsRequest
- func (r DescribePermissionsRequest) GetRegionId() string
- func (r *DescribePermissionsRequest) SetKeyword(keyword string)
- func (r *DescribePermissionsRequest) SetPageNumber(pageNumber int)
- func (r *DescribePermissionsRequest) SetPageSize(pageSize int)
- func (r *DescribePermissionsRequest) SetQueryType(queryType int)
- func (r *DescribePermissionsRequest) SetRegionId(regionId string)
- type DescribePermissionsResponse
- type DescribePermissionsResult
- type DescribePoliciesRequest
- func (r DescribePoliciesRequest) GetRegionId() string
- func (r *DescribePoliciesRequest) SetKeyword(keyword string)
- func (r *DescribePoliciesRequest) SetPageNumber(pageNumber int)
- func (r *DescribePoliciesRequest) SetPageSize(pageSize int)
- func (r *DescribePoliciesRequest) SetQueryType(queryType int)
- func (r *DescribePoliciesRequest) SetSort(sort int)
- type DescribePoliciesResponse
- type DescribePoliciesResult
- type DescribePolicyRequest
- type DescribePolicyResponse
- type DescribePolicyResult
- type DescribeRolePoliciesRequest
- func NewDescribeRolePoliciesRequest(roleName string, sort int) *DescribeRolePoliciesRequest
- func NewDescribeRolePoliciesRequestWithAllParams(roleName string, pageNumber *int, pageSize *int, keyword *string, sort int) *DescribeRolePoliciesRequest
- func NewDescribeRolePoliciesRequestWithoutParam() *DescribeRolePoliciesRequest
- func (r DescribeRolePoliciesRequest) GetRegionId() string
- func (r *DescribeRolePoliciesRequest) SetKeyword(keyword string)
- func (r *DescribeRolePoliciesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRolePoliciesRequest) SetPageSize(pageSize int)
- func (r *DescribeRolePoliciesRequest) SetRoleName(roleName string)
- func (r *DescribeRolePoliciesRequest) SetSort(sort int)
- type DescribeRolePoliciesResponse
- type DescribeRolePoliciesResult
- type DescribeRoleRequest
- type DescribeRoleResponse
- type DescribeRoleResult
- type DescribeRolesRequest
- func (r DescribeRolesRequest) GetRegionId() string
- func (r *DescribeRolesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRolesRequest) SetPageSize(pageSize int)
- func (r *DescribeRolesRequest) SetRoleName(roleName string)
- func (r *DescribeRolesRequest) SetSort(sort int)
- func (r *DescribeRolesRequest) SetType(type_ int)
- type DescribeRolesResponse
- type DescribeRolesResult
- type DescribeSubUserGroupsRequest
- type DescribeSubUserGroupsResponse
- type DescribeSubUserGroupsResult
- type DescribeSubUserPermissionsRequest
- func NewDescribeSubUserPermissionsRequest(regionId string, subUser string, pageNumber int, pageSize int) *DescribeSubUserPermissionsRequest
- func NewDescribeSubUserPermissionsRequestWithAllParams(regionId string, subUser string, pageNumber int, pageSize int) *DescribeSubUserPermissionsRequest
- func NewDescribeSubUserPermissionsRequestWithoutParam() *DescribeSubUserPermissionsRequest
- func (r DescribeSubUserPermissionsRequest) GetRegionId() string
- func (r *DescribeSubUserPermissionsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeSubUserPermissionsRequest) SetPageSize(pageSize int)
- func (r *DescribeSubUserPermissionsRequest) SetRegionId(regionId string)
- func (r *DescribeSubUserPermissionsRequest) SetSubUser(subUser string)
- type DescribeSubUserPermissionsResponse
- type DescribeSubUserPermissionsResult
- type DescribeSubUserRequest
- type DescribeSubUserResponse
- type DescribeSubUserResult
- type DescribeSubUsersRequest
- type DescribeSubUsersResponse
- type DescribeSubUsersResult
- type DescribeUserAccessKeysRequest
- type DescribeUserAccessKeysResponse
- type DescribeUserAccessKeysResult
- type DetachGroupPolicyRequest
- type DetachGroupPolicyResponse
- type DetachGroupPolicyResult
- type DetachRolePolicyRequest
- type DetachRolePolicyResponse
- type DetachRolePolicyResult
- type DetachSubUserPolicyRequest
- type DetachSubUserPolicyResponse
- type DetachSubUserPolicyResult
- type DisableSubUserAccessKeyRequest
- func NewDisableSubUserAccessKeyRequest(subUser string, accessKey string) *DisableSubUserAccessKeyRequest
- func NewDisableSubUserAccessKeyRequestWithAllParams(subUser string, accessKey string) *DisableSubUserAccessKeyRequest
- func NewDisableSubUserAccessKeyRequestWithoutParam() *DisableSubUserAccessKeyRequest
- type DisableSubUserAccessKeyResponse
- type DisableSubUserAccessKeyResult
- type DisabledUserAccessKeyRequest
- type DisabledUserAccessKeyResponse
- type DisabledUserAccessKeyResult
- type EnableSubUserAccessKeyRequest
- func NewEnableSubUserAccessKeyRequest(subUser string, accessKey string) *EnableSubUserAccessKeyRequest
- func NewEnableSubUserAccessKeyRequestWithAllParams(subUser string, accessKey string) *EnableSubUserAccessKeyRequest
- func NewEnableSubUserAccessKeyRequestWithoutParam() *EnableSubUserAccessKeyRequest
- type EnableSubUserAccessKeyResponse
- type EnableSubUserAccessKeyResult
- type EnabledUserAccessKeyRequest
- type EnabledUserAccessKeyResponse
- type EnabledUserAccessKeyResult
- type RemovePermissionOfSubUserRequest
- func NewRemovePermissionOfSubUserRequest(regionId string, permissionId int, subUser string) *RemovePermissionOfSubUserRequest
- func NewRemovePermissionOfSubUserRequestWithAllParams(regionId string, permissionId int, subUser string) *RemovePermissionOfSubUserRequest
- func NewRemovePermissionOfSubUserRequestWithoutParam() *RemovePermissionOfSubUserRequest
- type RemovePermissionOfSubUserResponse
- type RemovePermissionOfSubUserResult
- type RemoveSubUserFromGroupRequest
- func NewRemoveSubUserFromGroupRequest(groupName string, subUser string) *RemoveSubUserFromGroupRequest
- func NewRemoveSubUserFromGroupRequestWithAllParams(groupName string, subUser string) *RemoveSubUserFromGroupRequest
- func NewRemoveSubUserFromGroupRequestWithoutParam() *RemoveSubUserFromGroupRequest
- type RemoveSubUserFromGroupResponse
- type RemoveSubUserFromGroupResult
- type UpdateAssumeRolePolicyRequest
- func NewUpdateAssumeRolePolicyRequest(roleName string, updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo) *UpdateAssumeRolePolicyRequest
- func NewUpdateAssumeRolePolicyRequestWithAllParams(roleName string, updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo) *UpdateAssumeRolePolicyRequest
- func NewUpdateAssumeRolePolicyRequestWithoutParam() *UpdateAssumeRolePolicyRequest
- type UpdateAssumeRolePolicyResponse
- type UpdateAssumeRolePolicyResult
- type UpdateGroupRequest
- type UpdateGroupResponse
- type UpdateGroupResult
- type UpdatePermissionRequest
- type UpdatePermissionResponse
- type UpdatePermissionResult
- type UpdatePolicyDescriptionRequest
- type UpdatePolicyDescriptionResponse
- type UpdatePolicyDescriptionResult
- type UpdateSubUserRequest
- type UpdateSubUserResponse
- type UpdateSubUserResult
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 ¶ added in v1.6.0
func NewAddPermissionsToSubUserRequestWithAllParams( regionId string, subUser string, addPermissionsInfo *iam.AddPermissionsInfo, ) *AddPermissionsToSubUserRequest
* param regionId: Region ID (Required) * param subUser: 子用户用户名 (Required) * param addPermissionsInfo: 权限信息 (Required)
func NewAddPermissionsToSubUserRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.10.0
type AddSubUserToGroupRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` /* 子用户名 */ SubUser string `json:"subUser"` }
func NewAddSubUserToGroupRequest ¶ added in v1.10.0
func NewAddSubUserToGroupRequest( groupName string, subUser string, ) *AddSubUserToGroupRequest
* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAddSubUserToGroupRequestWithAllParams ¶ added in v1.10.0
func NewAddSubUserToGroupRequestWithAllParams( groupName string, subUser string, ) *AddSubUserToGroupRequest
* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required)
func NewAddSubUserToGroupRequestWithoutParam ¶ added in v1.10.0
func NewAddSubUserToGroupRequestWithoutParam() *AddSubUserToGroupRequest
This constructor has better compatible ability when API parameters changed
func (AddSubUserToGroupRequest) GetRegionId ¶ added in v1.10.0
func (r AddSubUserToGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddSubUserToGroupRequest) SetGroupName ¶ added in v1.10.0
func (r *AddSubUserToGroupRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
func (*AddSubUserToGroupRequest) SetSubUser ¶ added in v1.10.0
func (r *AddSubUserToGroupRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type AddSubUserToGroupResponse ¶ added in v1.10.0
type AddSubUserToGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AddSubUserToGroupResult `json:"result"` }
type AddSubUserToGroupResult ¶ added in v1.10.0
type AddSubUserToGroupResult struct { }
type AttachGroupPolicyRequest ¶ added in v1.10.0
type AttachGroupPolicyRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewAttachGroupPolicyRequest ¶ added in v1.10.0
func NewAttachGroupPolicyRequest( groupName string, policyName string, ) *AttachGroupPolicyRequest
* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAttachGroupPolicyRequestWithAllParams ¶ added in v1.10.0
func NewAttachGroupPolicyRequestWithAllParams( groupName string, policyName string, ) *AttachGroupPolicyRequest
* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required)
func NewAttachGroupPolicyRequestWithoutParam ¶ added in v1.10.0
func NewAttachGroupPolicyRequestWithoutParam() *AttachGroupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (AttachGroupPolicyRequest) GetRegionId ¶ added in v1.10.0
func (r AttachGroupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AttachGroupPolicyRequest) SetGroupName ¶ added in v1.10.0
func (r *AttachGroupPolicyRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
func (*AttachGroupPolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *AttachGroupPolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
type AttachGroupPolicyResponse ¶ added in v1.10.0
type AttachGroupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AttachGroupPolicyResult `json:"result"` }
type AttachGroupPolicyResult ¶ added in v1.10.0
type AttachGroupPolicyResult struct { }
type AttachRolePolicyRequest ¶ added in v1.10.0
type AttachRolePolicyRequest struct { core.JDCloudRequest /* 角色名称 */ RoleName string `json:"roleName"` /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewAttachRolePolicyRequest ¶ added in v1.10.0
func NewAttachRolePolicyRequest( roleName string, policyName string, ) *AttachRolePolicyRequest
* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAttachRolePolicyRequestWithAllParams ¶ added in v1.10.0
func NewAttachRolePolicyRequestWithAllParams( roleName string, policyName string, ) *AttachRolePolicyRequest
* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required)
func NewAttachRolePolicyRequestWithoutParam ¶ added in v1.10.0
func NewAttachRolePolicyRequestWithoutParam() *AttachRolePolicyRequest
This constructor has better compatible ability when API parameters changed
func (AttachRolePolicyRequest) GetRegionId ¶ added in v1.10.0
func (r AttachRolePolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AttachRolePolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *AttachRolePolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
func (*AttachRolePolicyRequest) SetRoleName ¶ added in v1.10.0
func (r *AttachRolePolicyRequest) SetRoleName(roleName string)
param roleName: 角色名称(Required)
type AttachRolePolicyResponse ¶ added in v1.10.0
type AttachRolePolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AttachRolePolicyResult `json:"result"` }
type AttachRolePolicyResult ¶ added in v1.10.0
type AttachRolePolicyResult struct { }
type AttachSubUserPolicyRequest ¶ added in v1.10.0
type AttachSubUserPolicyRequest struct { core.JDCloudRequest /* 子用户名 */ SubUser string `json:"subUser"` /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewAttachSubUserPolicyRequest ¶ added in v1.10.0
func NewAttachSubUserPolicyRequest( subUser string, policyName string, ) *AttachSubUserPolicyRequest
* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAttachSubUserPolicyRequestWithAllParams ¶ added in v1.10.0
func NewAttachSubUserPolicyRequestWithAllParams( subUser string, policyName string, ) *AttachSubUserPolicyRequest
* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required)
func NewAttachSubUserPolicyRequestWithoutParam ¶ added in v1.10.0
func NewAttachSubUserPolicyRequestWithoutParam() *AttachSubUserPolicyRequest
This constructor has better compatible ability when API parameters changed
func (AttachSubUserPolicyRequest) GetRegionId ¶ added in v1.10.0
func (r AttachSubUserPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AttachSubUserPolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *AttachSubUserPolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
func (*AttachSubUserPolicyRequest) SetSubUser ¶ added in v1.10.0
func (r *AttachSubUserPolicyRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type AttachSubUserPolicyResponse ¶ added in v1.10.0
type AttachSubUserPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AttachSubUserPolicyResult `json:"result"` }
type AttachSubUserPolicyResult ¶ added in v1.10.0
type AttachSubUserPolicyResult struct { }
type CreateGroupRequest ¶ added in v1.10.0
type CreateGroupRequest struct { core.JDCloudRequest /* */ CreateGroupInfo *iam.CreateGroupInfo `json:"createGroupInfo"` }
func NewCreateGroupRequest ¶ added in v1.10.0
func NewCreateGroupRequest( createGroupInfo *iam.CreateGroupInfo, ) *CreateGroupRequest
* param createGroupInfo: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateGroupRequestWithAllParams ¶ added in v1.10.0
func NewCreateGroupRequestWithAllParams( createGroupInfo *iam.CreateGroupInfo, ) *CreateGroupRequest
* param createGroupInfo: (Required)
func NewCreateGroupRequestWithoutParam ¶ added in v1.10.0
func NewCreateGroupRequestWithoutParam() *CreateGroupRequest
This constructor has better compatible ability when API parameters changed
func (CreateGroupRequest) GetRegionId ¶ added in v1.10.0
func (r CreateGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateGroupRequest) SetCreateGroupInfo ¶ added in v1.10.0
func (r *CreateGroupRequest) SetCreateGroupInfo(createGroupInfo *iam.CreateGroupInfo)
param createGroupInfo: (Required)
type CreateGroupResponse ¶ added in v1.10.0
type CreateGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateGroupResult `json:"result"` }
type CreateGroupResult ¶ added in v1.10.0
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 ¶ added in v1.6.0
func NewCreatePermissionRequestWithAllParams( regionId string, createPermissionInfo *iam.CreatePermissionInfo, ) *CreatePermissionRequest
* param regionId: Region ID (Required) * param createPermissionInfo: 权限信息 (Required)
func NewCreatePermissionRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.10.0
type CreatePolicyRequest struct { core.JDCloudRequest /* 策略信息 */ CreatePolicyInfo *iam.CreatePolicyInfo `json:"createPolicyInfo"` }
func NewCreatePolicyRequest ¶ added in v1.10.0
func NewCreatePolicyRequest( createPolicyInfo *iam.CreatePolicyInfo, ) *CreatePolicyRequest
* param createPolicyInfo: 策略信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreatePolicyRequestWithAllParams ¶ added in v1.10.0
func NewCreatePolicyRequestWithAllParams( createPolicyInfo *iam.CreatePolicyInfo, ) *CreatePolicyRequest
* param createPolicyInfo: 策略信息 (Required)
func NewCreatePolicyRequestWithoutParam ¶ added in v1.10.0
func NewCreatePolicyRequestWithoutParam() *CreatePolicyRequest
This constructor has better compatible ability when API parameters changed
func (CreatePolicyRequest) GetRegionId ¶ added in v1.10.0
func (r CreatePolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreatePolicyRequest) SetCreatePolicyInfo ¶ added in v1.10.0
func (r *CreatePolicyRequest) SetCreatePolicyInfo(createPolicyInfo *iam.CreatePolicyInfo)
param createPolicyInfo: 策略信息(Required)
type CreatePolicyResponse ¶ added in v1.10.0
type CreatePolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreatePolicyResult `json:"result"` }
type CreatePolicyResult ¶ added in v1.10.0
type CreateRoleRequest ¶ added in v1.10.0
type CreateRoleRequest struct { core.JDCloudRequest /* 角色信息 */ CreateRoleInfo *iam.CreateRoleInfo `json:"createRoleInfo"` }
func NewCreateRoleRequest ¶ added in v1.10.0
func NewCreateRoleRequest( createRoleInfo *iam.CreateRoleInfo, ) *CreateRoleRequest
* param createRoleInfo: 角色信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRoleRequestWithAllParams ¶ added in v1.10.0
func NewCreateRoleRequestWithAllParams( createRoleInfo *iam.CreateRoleInfo, ) *CreateRoleRequest
* param createRoleInfo: 角色信息 (Required)
func NewCreateRoleRequestWithoutParam ¶ added in v1.10.0
func NewCreateRoleRequestWithoutParam() *CreateRoleRequest
This constructor has better compatible ability when API parameters changed
func (CreateRoleRequest) GetRegionId ¶ added in v1.10.0
func (r CreateRoleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRoleRequest) SetCreateRoleInfo ¶ added in v1.10.0
func (r *CreateRoleRequest) SetCreateRoleInfo(createRoleInfo *iam.CreateRoleInfo)
param createRoleInfo: 角色信息(Required)
type CreateRoleResponse ¶ added in v1.10.0
type CreateRoleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateRoleResult `json:"result"` }
type CreateRoleResult ¶ added in v1.10.0
type CreateSubUserRequest ¶ added in v1.6.0
type CreateSubUserRequest struct { core.JDCloudRequest /* 子用户信息 */ CreateSubUserInfo *iam.CreateSubUserInfo `json:"createSubUserInfo"` }
func NewCreateSubUserRequest ¶ added in v1.6.0
func NewCreateSubUserRequest( createSubUserInfo *iam.CreateSubUserInfo, ) *CreateSubUserRequest
* param createSubUserInfo: 子用户信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSubUserRequestWithAllParams ¶ added in v1.6.0
func NewCreateSubUserRequestWithAllParams( createSubUserInfo *iam.CreateSubUserInfo, ) *CreateSubUserRequest
* param createSubUserInfo: 子用户信息 (Required)
func NewCreateSubUserRequestWithoutParam ¶ added in v1.6.0
func NewCreateSubUserRequestWithoutParam() *CreateSubUserRequest
This constructor has better compatible ability when API parameters changed
func (CreateSubUserRequest) GetRegionId ¶ added in v1.6.0
func (r CreateSubUserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSubUserRequest) SetCreateSubUserInfo ¶ added in v1.6.0
func (r *CreateSubUserRequest) SetCreateSubUserInfo(createSubUserInfo *iam.CreateSubUserInfo)
param createSubUserInfo: 子用户信息(Required)
type CreateSubUserResponse ¶ added in v1.6.0
type CreateSubUserResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSubUserResult `json:"result"` }
type CreateSubUserResult ¶ added in v1.6.0
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 ¶ added in v1.6.0
func NewCreateUserAccessKeyRequestWithAllParams( regionId string, ) *CreateUserAccessKeyRequest
* param regionId: Region ID (Required)
func NewCreateUserAccessKeyRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.10.0
type DeleteGroupRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` }
func NewDeleteGroupRequest ¶ added in v1.10.0
func NewDeleteGroupRequest( groupName string, ) *DeleteGroupRequest
* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteGroupRequestWithAllParams ¶ added in v1.10.0
func NewDeleteGroupRequestWithAllParams( groupName string, ) *DeleteGroupRequest
* param groupName: 用户组名称 (Required)
func NewDeleteGroupRequestWithoutParam ¶ added in v1.10.0
func NewDeleteGroupRequestWithoutParam() *DeleteGroupRequest
This constructor has better compatible ability when API parameters changed
func (DeleteGroupRequest) GetRegionId ¶ added in v1.10.0
func (r DeleteGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteGroupRequest) SetGroupName ¶ added in v1.10.0
func (r *DeleteGroupRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
type DeleteGroupResponse ¶ added in v1.10.0
type DeleteGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteGroupResult `json:"result"` }
type DeleteGroupResult ¶ added in v1.10.0
type DeleteGroupResult struct { }
type DeletePolicyRequest ¶ added in v1.10.0
type DeletePolicyRequest struct { core.JDCloudRequest /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewDeletePolicyRequest ¶ added in v1.10.0
func NewDeletePolicyRequest( policyName string, ) *DeletePolicyRequest
* param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeletePolicyRequestWithAllParams ¶ added in v1.10.0
func NewDeletePolicyRequestWithAllParams( policyName string, ) *DeletePolicyRequest
* param policyName: 策略名称 (Required)
func NewDeletePolicyRequestWithoutParam ¶ added in v1.10.0
func NewDeletePolicyRequestWithoutParam() *DeletePolicyRequest
This constructor has better compatible ability when API parameters changed
func (DeletePolicyRequest) GetRegionId ¶ added in v1.10.0
func (r DeletePolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeletePolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *DeletePolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
type DeletePolicyResponse ¶ added in v1.10.0
type DeletePolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeletePolicyResult `json:"result"` }
type DeletePolicyResult ¶ added in v1.10.0
type DeletePolicyResult struct { }
type DeleteRoleRequest ¶ added in v1.10.0
type DeleteRoleRequest struct { core.JDCloudRequest /* 角色名称 */ RoleName string `json:"roleName"` }
func NewDeleteRoleRequest ¶ added in v1.10.0
func NewDeleteRoleRequest( roleName string, ) *DeleteRoleRequest
* param roleName: 角色名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRoleRequestWithAllParams ¶ added in v1.10.0
func NewDeleteRoleRequestWithAllParams( roleName string, ) *DeleteRoleRequest
* param roleName: 角色名称 (Required)
func NewDeleteRoleRequestWithoutParam ¶ added in v1.10.0
func NewDeleteRoleRequestWithoutParam() *DeleteRoleRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRoleRequest) GetRegionId ¶ added in v1.10.0
func (r DeleteRoleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRoleRequest) SetRoleName ¶ added in v1.10.0
func (r *DeleteRoleRequest) SetRoleName(roleName string)
param roleName: 角色名称(Required)
type DeleteRoleResponse ¶ added in v1.10.0
type DeleteRoleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteRoleResult `json:"result"` }
type DeleteRoleResult ¶ added in v1.10.0
type DeleteRoleResult struct { }
type DeleteSubUserAccessKeyRequest ¶ added in v1.10.0
type DeleteSubUserAccessKeyRequest struct { core.JDCloudRequest /* 子用户名称 */ SubUser string `json:"subUser"` /* accessKey */ AccessKey string `json:"accessKey"` }
func NewDeleteSubUserAccessKeyRequest ¶ added in v1.10.0
func NewDeleteSubUserAccessKeyRequest( subUser string, accessKey string, ) *DeleteSubUserAccessKeyRequest
* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSubUserAccessKeyRequestWithAllParams ¶ added in v1.10.0
func NewDeleteSubUserAccessKeyRequestWithAllParams( subUser string, accessKey string, ) *DeleteSubUserAccessKeyRequest
* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required)
func NewDeleteSubUserAccessKeyRequestWithoutParam ¶ added in v1.10.0
func NewDeleteSubUserAccessKeyRequestWithoutParam() *DeleteSubUserAccessKeyRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSubUserAccessKeyRequest) GetRegionId ¶ added in v1.10.0
func (r DeleteSubUserAccessKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSubUserAccessKeyRequest) SetAccessKey ¶ added in v1.10.0
func (r *DeleteSubUserAccessKeyRequest) SetAccessKey(accessKey string)
param accessKey: accessKey(Required)
func (*DeleteSubUserAccessKeyRequest) SetSubUser ¶ added in v1.10.0
func (r *DeleteSubUserAccessKeyRequest) SetSubUser(subUser string)
param subUser: 子用户名称(Required)
type DeleteSubUserAccessKeyResponse ¶ added in v1.10.0
type DeleteSubUserAccessKeyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteSubUserAccessKeyResult `json:"result"` }
type DeleteSubUserAccessKeyResult ¶ added in v1.10.0
type DeleteSubUserAccessKeyResult struct { }
type DeleteSubUserRequest ¶ added in v1.10.0
type DeleteSubUserRequest struct { core.JDCloudRequest /* 子用户名 */ SubUser string `json:"subUser"` }
func NewDeleteSubUserRequest ¶ added in v1.10.0
func NewDeleteSubUserRequest( subUser string, ) *DeleteSubUserRequest
* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSubUserRequestWithAllParams ¶ added in v1.10.0
func NewDeleteSubUserRequestWithAllParams( subUser string, ) *DeleteSubUserRequest
* param subUser: 子用户名 (Required)
func NewDeleteSubUserRequestWithoutParam ¶ added in v1.10.0
func NewDeleteSubUserRequestWithoutParam() *DeleteSubUserRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSubUserRequest) GetRegionId ¶ added in v1.10.0
func (r DeleteSubUserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSubUserRequest) SetSubUser ¶ added in v1.10.0
func (r *DeleteSubUserRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type DeleteSubUserResponse ¶ added in v1.10.0
type DeleteSubUserResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteSubUserResult `json:"result"` }
type DeleteSubUserResult ¶ added in v1.10.0
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 ¶ added in v1.6.0
func NewDeleteUserAccessKeyRequestWithAllParams( regionId string, accessKey string, ) *DeleteUserAccessKeyRequest
* param regionId: Region ID (Required) * param accessKey: accessKey (Required)
func NewDeleteUserAccessKeyRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.13.0
type DescribeAttachedGroupPoliciesRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` }
func NewDescribeAttachedGroupPoliciesRequest ¶ added in v1.13.0
func NewDescribeAttachedGroupPoliciesRequest( groupName string, ) *DescribeAttachedGroupPoliciesRequest
* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAttachedGroupPoliciesRequestWithAllParams ¶ added in v1.13.0
func NewDescribeAttachedGroupPoliciesRequestWithAllParams( groupName string, ) *DescribeAttachedGroupPoliciesRequest
* param groupName: 用户组名称 (Required)
func NewDescribeAttachedGroupPoliciesRequestWithoutParam ¶ added in v1.13.0
func NewDescribeAttachedGroupPoliciesRequestWithoutParam() *DescribeAttachedGroupPoliciesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAttachedGroupPoliciesRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeAttachedGroupPoliciesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAttachedGroupPoliciesRequest) SetGroupName ¶ added in v1.13.0
func (r *DescribeAttachedGroupPoliciesRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
type DescribeAttachedGroupPoliciesResponse ¶ added in v1.13.0
type DescribeAttachedGroupPoliciesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAttachedGroupPoliciesResult `json:"result"` }
type DescribeAttachedGroupPoliciesResult ¶ added in v1.13.0
type DescribeAttachedSubUserPoliciesRequest ¶ added in v1.13.0
type DescribeAttachedSubUserPoliciesRequest struct { core.JDCloudRequest /* 子用户名 */ SubUser string `json:"subUser"` }
func NewDescribeAttachedSubUserPoliciesRequest ¶ added in v1.13.0
func NewDescribeAttachedSubUserPoliciesRequest( subUser string, ) *DescribeAttachedSubUserPoliciesRequest
* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAttachedSubUserPoliciesRequestWithAllParams ¶ added in v1.13.0
func NewDescribeAttachedSubUserPoliciesRequestWithAllParams( subUser string, ) *DescribeAttachedSubUserPoliciesRequest
* param subUser: 子用户名 (Required)
func NewDescribeAttachedSubUserPoliciesRequestWithoutParam ¶ added in v1.13.0
func NewDescribeAttachedSubUserPoliciesRequestWithoutParam() *DescribeAttachedSubUserPoliciesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAttachedSubUserPoliciesRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeAttachedSubUserPoliciesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAttachedSubUserPoliciesRequest) SetSubUser ¶ added in v1.13.0
func (r *DescribeAttachedSubUserPoliciesRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type DescribeAttachedSubUserPoliciesResponse ¶ added in v1.13.0
type DescribeAttachedSubUserPoliciesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAttachedSubUserPoliciesResult `json:"result"` }
type DescribeAttachedSubUserPoliciesResult ¶ added in v1.13.0
type DescribeGroupRequest ¶ added in v1.10.0
type DescribeGroupRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` }
func NewDescribeGroupRequest ¶ added in v1.10.0
func NewDescribeGroupRequest( groupName string, ) *DescribeGroupRequest
* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeGroupRequestWithAllParams ¶ added in v1.10.0
func NewDescribeGroupRequestWithAllParams( groupName string, ) *DescribeGroupRequest
* param groupName: 用户组名称 (Required)
func NewDescribeGroupRequestWithoutParam ¶ added in v1.10.0
func NewDescribeGroupRequestWithoutParam() *DescribeGroupRequest
This constructor has better compatible ability when API parameters changed
func (DescribeGroupRequest) GetRegionId ¶ added in v1.10.0
func (r DescribeGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeGroupRequest) SetGroupName ¶ added in v1.10.0
func (r *DescribeGroupRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
type DescribeGroupResponse ¶ added in v1.10.0
type DescribeGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeGroupResult `json:"result"` }
type DescribeGroupResult ¶ added in v1.10.0
type DescribeGroupResult struct {
Group iam.GroupDetail `json:"group"`
}
type DescribeGroupSubUsersRequest ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeGroupSubUsersRequest( groupName string, ) *DescribeGroupSubUsersRequest
* param groupName: 用户组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeGroupSubUsersRequestWithAllParams ¶ added in v1.13.0
func NewDescribeGroupSubUsersRequestWithAllParams( groupName string, pageNumber *int, pageSize *int, ) *DescribeGroupSubUsersRequest
* param groupName: 用户组名称 (Required) * param pageNumber: 页码,默认1 (Optional) * param pageSize: 分页大小,默认50,取值范围[10, 100] (Optional)
func NewDescribeGroupSubUsersRequestWithoutParam ¶ added in v1.13.0
func NewDescribeGroupSubUsersRequestWithoutParam() *DescribeGroupSubUsersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeGroupSubUsersRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeGroupSubUsersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeGroupSubUsersRequest) SetGroupName ¶ added in v1.13.0
func (r *DescribeGroupSubUsersRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
func (*DescribeGroupSubUsersRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribeGroupSubUsersRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码,默认1(Optional)
func (*DescribeGroupSubUsersRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribeGroupSubUsersRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)
type DescribeGroupSubUsersResponse ¶ added in v1.13.0
type DescribeGroupSubUsersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeGroupSubUsersResult `json:"result"` }
type DescribeGroupSubUsersResult ¶ added in v1.13.0
type DescribeGroupSubUsersResult struct { Total int `json:"total"` SubUsers []iam.SubUserInfo `json:"subUsers"` }
type DescribeGroupsRequest ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeGroupsRequest() *DescribeGroupsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeGroupsRequestWithAllParams ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeGroupsRequestWithoutParam() *DescribeGroupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeGroupsRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeGroupsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeGroupsRequest) SetKeyword ¶ added in v1.13.0
func (r *DescribeGroupsRequest) SetKeyword(keyword string)
param keyword: 关键字(Optional)
func (*DescribeGroupsRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribeGroupsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码,默认1(Optional)
func (*DescribeGroupsRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribeGroupsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)
func (*DescribeGroupsRequest) SetSort ¶ added in v1.13.0
func (r *DescribeGroupsRequest) SetSort(sort int)
param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序(Optional)
type DescribeGroupsResponse ¶ added in v1.13.0
type DescribeGroupsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeGroupsResult `json:"result"` }
type DescribeGroupsResult ¶ added in v1.13.0
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 ¶ added in v1.6.0
func NewDescribePermissionDetailRequestWithAllParams( regionId string, permissionId int, ) *DescribePermissionDetailRequest
* param regionId: Region ID (Required) * param permissionId: 权限id (Required)
func NewDescribePermissionDetailRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.6.0
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 ¶ added in v1.6.0
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 ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribePoliciesRequest() *DescribePoliciesRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribePoliciesRequestWithAllParams ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribePoliciesRequestWithoutParam() *DescribePoliciesRequest
This constructor has better compatible ability when API parameters changed
func (DescribePoliciesRequest) GetRegionId ¶ added in v1.13.0
func (r DescribePoliciesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribePoliciesRequest) SetKeyword ¶ added in v1.13.0
func (r *DescribePoliciesRequest) SetKeyword(keyword string)
param keyword: 关键字(Optional)
func (*DescribePoliciesRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribePoliciesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码,默认1(Optional)
func (*DescribePoliciesRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribePoliciesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)
func (*DescribePoliciesRequest) SetQueryType ¶ added in v1.13.0
func (r *DescribePoliciesRequest) SetQueryType(queryType int)
param queryType: 策略类型:0-全部(默认),1-系统策略,2-自定义策略(Optional)
func (*DescribePoliciesRequest) SetSort ¶ added in v1.13.0
func (r *DescribePoliciesRequest) SetSort(sort int)
param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序(Optional)
type DescribePoliciesResponse ¶ added in v1.13.0
type DescribePoliciesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribePoliciesResult `json:"result"` }
type DescribePoliciesResult ¶ added in v1.13.0
type DescribePolicyRequest ¶ added in v1.10.0
type DescribePolicyRequest struct { core.JDCloudRequest /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewDescribePolicyRequest ¶ added in v1.10.0
func NewDescribePolicyRequest( policyName string, ) *DescribePolicyRequest
* param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribePolicyRequestWithAllParams ¶ added in v1.10.0
func NewDescribePolicyRequestWithAllParams( policyName string, ) *DescribePolicyRequest
* param policyName: 策略名称 (Required)
func NewDescribePolicyRequestWithoutParam ¶ added in v1.10.0
func NewDescribePolicyRequestWithoutParam() *DescribePolicyRequest
This constructor has better compatible ability when API parameters changed
func (DescribePolicyRequest) GetRegionId ¶ added in v1.10.0
func (r DescribePolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribePolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *DescribePolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
type DescribePolicyResponse ¶ added in v1.10.0
type DescribePolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribePolicyResult `json:"result"` }
type DescribePolicyResult ¶ added in v1.10.0
type DescribePolicyResult struct {
Policy iam.PolicyDetail `json:"policy"`
}
type DescribeRolePoliciesRequest ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeRolePoliciesRequest( roleName string, sort int, ) *DescribeRolePoliciesRequest
* param roleName: 角色名称 (Required) * param sort: 排序策略,0-按创建时间顺序排序 1-按创建时间倒序 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRolePoliciesRequestWithAllParams ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeRolePoliciesRequestWithoutParam() *DescribeRolePoliciesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRolePoliciesRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeRolePoliciesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRolePoliciesRequest) SetKeyword ¶ added in v1.13.0
func (r *DescribeRolePoliciesRequest) SetKeyword(keyword string)
param keyword: 关键字(Optional)
func (*DescribeRolePoliciesRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribeRolePoliciesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*DescribeRolePoliciesRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribeRolePoliciesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示数目[10~100] 默认50条(Optional)
func (*DescribeRolePoliciesRequest) SetRoleName ¶ added in v1.13.0
func (r *DescribeRolePoliciesRequest) SetRoleName(roleName string)
param roleName: 角色名称(Required)
func (*DescribeRolePoliciesRequest) SetSort ¶ added in v1.13.0
func (r *DescribeRolePoliciesRequest) SetSort(sort int)
param sort: 排序策略,0-按创建时间顺序排序 1-按创建时间倒序(Required)
type DescribeRolePoliciesResponse ¶ added in v1.13.0
type DescribeRolePoliciesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRolePoliciesResult `json:"result"` }
type DescribeRolePoliciesResult ¶ added in v1.13.0
type DescribeRolePoliciesResult struct { Total int `json:"total"` Policies []iam.RolePolicy `json:"policies"` }
type DescribeRoleRequest ¶ added in v1.10.0
type DescribeRoleRequest struct { core.JDCloudRequest /* 角色名称 */ RoleName string `json:"roleName"` }
func NewDescribeRoleRequest ¶ added in v1.10.0
func NewDescribeRoleRequest( roleName string, ) *DescribeRoleRequest
* param roleName: 角色名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRoleRequestWithAllParams ¶ added in v1.10.0
func NewDescribeRoleRequestWithAllParams( roleName string, ) *DescribeRoleRequest
* param roleName: 角色名称 (Required)
func NewDescribeRoleRequestWithoutParam ¶ added in v1.10.0
func NewDescribeRoleRequestWithoutParam() *DescribeRoleRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRoleRequest) GetRegionId ¶ added in v1.10.0
func (r DescribeRoleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRoleRequest) SetRoleName ¶ added in v1.10.0
func (r *DescribeRoleRequest) SetRoleName(roleName string)
param roleName: 角色名称(Required)
type DescribeRoleResponse ¶ added in v1.10.0
type DescribeRoleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRoleResult `json:"result"` }
type DescribeRoleResult ¶ added in v1.10.0
type DescribeRolesRequest ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeRolesRequest() *DescribeRolesRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRolesRequestWithAllParams ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeRolesRequestWithoutParam() *DescribeRolesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRolesRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeRolesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRolesRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribeRolesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码,默认1(Optional)
func (*DescribeRolesRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribeRolesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)
func (*DescribeRolesRequest) SetRoleName ¶ added in v1.13.0
func (r *DescribeRolesRequest) SetRoleName(roleName string)
param roleName: 角色名称关键词(Optional)
func (*DescribeRolesRequest) SetSort ¶ added in v1.13.0
func (r *DescribeRolesRequest) SetSort(sort int)
param sort: 排序策略,0-按创建时间顺序排序,1-按创建时间倒序排序(Optional)
func (*DescribeRolesRequest) SetType ¶ added in v1.13.0
func (r *DescribeRolesRequest) SetType(type_ int)
param type_: 角色类型,默认查找所有类型,2-服务相关角色,3-服务角色,4-用户角色(Optional)
type DescribeRolesResponse ¶ added in v1.13.0
type DescribeRolesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRolesResult `json:"result"` }
type DescribeRolesResult ¶ added in v1.13.0
type DescribeRolesResult struct { Total int `json:"total"` Roles []iam.ListRoleInfo `json:"roles"` }
type DescribeSubUserGroupsRequest ¶ added in v1.13.0
type DescribeSubUserGroupsRequest struct { core.JDCloudRequest /* 子用户名 */ SubUser string `json:"subUser"` }
func NewDescribeSubUserGroupsRequest ¶ added in v1.13.0
func NewDescribeSubUserGroupsRequest( subUser string, ) *DescribeSubUserGroupsRequest
* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubUserGroupsRequestWithAllParams ¶ added in v1.13.0
func NewDescribeSubUserGroupsRequestWithAllParams( subUser string, ) *DescribeSubUserGroupsRequest
* param subUser: 子用户名 (Required)
func NewDescribeSubUserGroupsRequestWithoutParam ¶ added in v1.13.0
func NewDescribeSubUserGroupsRequestWithoutParam() *DescribeSubUserGroupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubUserGroupsRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeSubUserGroupsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubUserGroupsRequest) SetSubUser ¶ added in v1.13.0
func (r *DescribeSubUserGroupsRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type DescribeSubUserGroupsResponse ¶ added in v1.13.0
type DescribeSubUserGroupsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSubUserGroupsResult `json:"result"` }
type DescribeSubUserGroupsResult ¶ added in v1.13.0
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 ¶ added in v1.6.0
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 ¶ added in v1.6.0
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 ¶ added in v1.10.0
type DescribeSubUserRequest struct { core.JDCloudRequest /* 子用户名 */ SubUser string `json:"subUser"` }
func NewDescribeSubUserRequest ¶ added in v1.10.0
func NewDescribeSubUserRequest( subUser string, ) *DescribeSubUserRequest
* param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubUserRequestWithAllParams ¶ added in v1.10.0
func NewDescribeSubUserRequestWithAllParams( subUser string, ) *DescribeSubUserRequest
* param subUser: 子用户名 (Required)
func NewDescribeSubUserRequestWithoutParam ¶ added in v1.10.0
func NewDescribeSubUserRequestWithoutParam() *DescribeSubUserRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubUserRequest) GetRegionId ¶ added in v1.10.0
func (r DescribeSubUserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubUserRequest) SetSubUser ¶ added in v1.10.0
func (r *DescribeSubUserRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type DescribeSubUserResponse ¶ added in v1.10.0
type DescribeSubUserResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSubUserResult `json:"result"` }
type DescribeSubUserResult ¶ added in v1.10.0
type DescribeSubUsersRequest ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeSubUsersRequest() *DescribeSubUsersRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubUsersRequestWithAllParams ¶ added in v1.13.0
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 ¶ added in v1.13.0
func NewDescribeSubUsersRequestWithoutParam() *DescribeSubUsersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubUsersRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeSubUsersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubUsersRequest) SetKeyword ¶ added in v1.13.0
func (r *DescribeSubUsersRequest) SetKeyword(keyword string)
param keyword: 关键字(Optional)
func (*DescribeSubUsersRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribeSubUsersRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码,默认1(Optional)
func (*DescribeSubUsersRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribeSubUsersRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认50,取值范围[10, 100](Optional)
func (*DescribeSubUsersRequest) SetSort ¶ added in v1.13.0
func (r *DescribeSubUsersRequest) SetSort(sort int)
param sort: 排序规则:0-创建时间顺序排序,1-创建时间倒序排序(Optional)
type DescribeSubUsersResponse ¶ added in v1.13.0
type DescribeSubUsersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSubUsersResult `json:"result"` }
type DescribeSubUsersResult ¶ added in v1.13.0
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 ¶ added in v1.6.0
func NewDescribeUserAccessKeysRequestWithAllParams( regionId string, ) *DescribeUserAccessKeysRequest
* param regionId: Region ID (Required)
func NewDescribeUserAccessKeysRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.10.0
type DetachGroupPolicyRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewDetachGroupPolicyRequest ¶ added in v1.10.0
func NewDetachGroupPolicyRequest( groupName string, policyName string, ) *DetachGroupPolicyRequest
* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDetachGroupPolicyRequestWithAllParams ¶ added in v1.10.0
func NewDetachGroupPolicyRequestWithAllParams( groupName string, policyName string, ) *DetachGroupPolicyRequest
* param groupName: 用户组名称 (Required) * param policyName: 策略名称 (Required)
func NewDetachGroupPolicyRequestWithoutParam ¶ added in v1.10.0
func NewDetachGroupPolicyRequestWithoutParam() *DetachGroupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (DetachGroupPolicyRequest) GetRegionId ¶ added in v1.10.0
func (r DetachGroupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DetachGroupPolicyRequest) SetGroupName ¶ added in v1.10.0
func (r *DetachGroupPolicyRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
func (*DetachGroupPolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *DetachGroupPolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
type DetachGroupPolicyResponse ¶ added in v1.10.0
type DetachGroupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DetachGroupPolicyResult `json:"result"` }
type DetachGroupPolicyResult ¶ added in v1.10.0
type DetachGroupPolicyResult struct { }
type DetachRolePolicyRequest ¶ added in v1.10.0
type DetachRolePolicyRequest struct { core.JDCloudRequest /* 角色名称 */ RoleName string `json:"roleName"` /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewDetachRolePolicyRequest ¶ added in v1.10.0
func NewDetachRolePolicyRequest( roleName string, policyName string, ) *DetachRolePolicyRequest
* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDetachRolePolicyRequestWithAllParams ¶ added in v1.10.0
func NewDetachRolePolicyRequestWithAllParams( roleName string, policyName string, ) *DetachRolePolicyRequest
* param roleName: 角色名称 (Required) * param policyName: 策略名称 (Required)
func NewDetachRolePolicyRequestWithoutParam ¶ added in v1.10.0
func NewDetachRolePolicyRequestWithoutParam() *DetachRolePolicyRequest
This constructor has better compatible ability when API parameters changed
func (DetachRolePolicyRequest) GetRegionId ¶ added in v1.10.0
func (r DetachRolePolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DetachRolePolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *DetachRolePolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
func (*DetachRolePolicyRequest) SetRoleName ¶ added in v1.10.0
func (r *DetachRolePolicyRequest) SetRoleName(roleName string)
param roleName: 角色名称(Required)
type DetachRolePolicyResponse ¶ added in v1.10.0
type DetachRolePolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DetachRolePolicyResult `json:"result"` }
type DetachRolePolicyResult ¶ added in v1.10.0
type DetachRolePolicyResult struct { }
type DetachSubUserPolicyRequest ¶ added in v1.10.0
type DetachSubUserPolicyRequest struct { core.JDCloudRequest /* 子用户名 */ SubUser string `json:"subUser"` /* 策略名称 */ PolicyName string `json:"policyName"` }
func NewDetachSubUserPolicyRequest ¶ added in v1.10.0
func NewDetachSubUserPolicyRequest( subUser string, policyName string, ) *DetachSubUserPolicyRequest
* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDetachSubUserPolicyRequestWithAllParams ¶ added in v1.10.0
func NewDetachSubUserPolicyRequestWithAllParams( subUser string, policyName string, ) *DetachSubUserPolicyRequest
* param subUser: 子用户名 (Required) * param policyName: 策略名称 (Required)
func NewDetachSubUserPolicyRequestWithoutParam ¶ added in v1.10.0
func NewDetachSubUserPolicyRequestWithoutParam() *DetachSubUserPolicyRequest
This constructor has better compatible ability when API parameters changed
func (DetachSubUserPolicyRequest) GetRegionId ¶ added in v1.10.0
func (r DetachSubUserPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DetachSubUserPolicyRequest) SetPolicyName ¶ added in v1.10.0
func (r *DetachSubUserPolicyRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
func (*DetachSubUserPolicyRequest) SetSubUser ¶ added in v1.10.0
func (r *DetachSubUserPolicyRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type DetachSubUserPolicyResponse ¶ added in v1.10.0
type DetachSubUserPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DetachSubUserPolicyResult `json:"result"` }
type DetachSubUserPolicyResult ¶ added in v1.10.0
type DetachSubUserPolicyResult struct { }
type DisableSubUserAccessKeyRequest ¶ added in v1.10.0
type DisableSubUserAccessKeyRequest struct { core.JDCloudRequest /* 子用户名称 */ SubUser string `json:"subUser"` /* accessKey */ AccessKey string `json:"accessKey"` }
func NewDisableSubUserAccessKeyRequest ¶ added in v1.10.0
func NewDisableSubUserAccessKeyRequest( subUser string, accessKey string, ) *DisableSubUserAccessKeyRequest
* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableSubUserAccessKeyRequestWithAllParams ¶ added in v1.10.0
func NewDisableSubUserAccessKeyRequestWithAllParams( subUser string, accessKey string, ) *DisableSubUserAccessKeyRequest
* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required)
func NewDisableSubUserAccessKeyRequestWithoutParam ¶ added in v1.10.0
func NewDisableSubUserAccessKeyRequestWithoutParam() *DisableSubUserAccessKeyRequest
This constructor has better compatible ability when API parameters changed
func (DisableSubUserAccessKeyRequest) GetRegionId ¶ added in v1.10.0
func (r DisableSubUserAccessKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableSubUserAccessKeyRequest) SetAccessKey ¶ added in v1.10.0
func (r *DisableSubUserAccessKeyRequest) SetAccessKey(accessKey string)
param accessKey: accessKey(Required)
func (*DisableSubUserAccessKeyRequest) SetSubUser ¶ added in v1.10.0
func (r *DisableSubUserAccessKeyRequest) SetSubUser(subUser string)
param subUser: 子用户名称(Required)
type DisableSubUserAccessKeyResponse ¶ added in v1.10.0
type DisableSubUserAccessKeyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableSubUserAccessKeyResult `json:"result"` }
type DisableSubUserAccessKeyResult ¶ added in v1.10.0
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 ¶ added in v1.6.0
func NewDisabledUserAccessKeyRequestWithAllParams( regionId string, accessKey string, ) *DisabledUserAccessKeyRequest
* param regionId: Region ID (Required) * param accessKey: accessKey (Required)
func NewDisabledUserAccessKeyRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.10.0
type EnableSubUserAccessKeyRequest struct { core.JDCloudRequest /* 子用户名称 */ SubUser string `json:"subUser"` /* accessKey */ AccessKey string `json:"accessKey"` }
func NewEnableSubUserAccessKeyRequest ¶ added in v1.10.0
func NewEnableSubUserAccessKeyRequest( subUser string, accessKey string, ) *EnableSubUserAccessKeyRequest
* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableSubUserAccessKeyRequestWithAllParams ¶ added in v1.10.0
func NewEnableSubUserAccessKeyRequestWithAllParams( subUser string, accessKey string, ) *EnableSubUserAccessKeyRequest
* param subUser: 子用户名称 (Required) * param accessKey: accessKey (Required)
func NewEnableSubUserAccessKeyRequestWithoutParam ¶ added in v1.10.0
func NewEnableSubUserAccessKeyRequestWithoutParam() *EnableSubUserAccessKeyRequest
This constructor has better compatible ability when API parameters changed
func (EnableSubUserAccessKeyRequest) GetRegionId ¶ added in v1.10.0
func (r EnableSubUserAccessKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableSubUserAccessKeyRequest) SetAccessKey ¶ added in v1.10.0
func (r *EnableSubUserAccessKeyRequest) SetAccessKey(accessKey string)
param accessKey: accessKey(Required)
func (*EnableSubUserAccessKeyRequest) SetSubUser ¶ added in v1.10.0
func (r *EnableSubUserAccessKeyRequest) SetSubUser(subUser string)
param subUser: 子用户名称(Required)
type EnableSubUserAccessKeyResponse ¶ added in v1.10.0
type EnableSubUserAccessKeyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableSubUserAccessKeyResult `json:"result"` }
type EnableSubUserAccessKeyResult ¶ added in v1.10.0
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 ¶ added in v1.6.0
func NewEnabledUserAccessKeyRequestWithAllParams( regionId string, accessKey string, ) *EnabledUserAccessKeyRequest
* param regionId: Region ID (Required) * param accessKey: accessKey (Required)
func NewEnabledUserAccessKeyRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.6.0
func NewRemovePermissionOfSubUserRequestWithAllParams( regionId string, permissionId int, subUser string, ) *RemovePermissionOfSubUserRequest
* param regionId: Region ID (Required) * param permissionId: 权限id (Required) * param subUser: 子用户用户名 (Required)
func NewRemovePermissionOfSubUserRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.10.0
type RemoveSubUserFromGroupRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` /* 子用户名 */ SubUser string `json:"subUser"` }
func NewRemoveSubUserFromGroupRequest ¶ added in v1.10.0
func NewRemoveSubUserFromGroupRequest( groupName string, subUser string, ) *RemoveSubUserFromGroupRequest
* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRemoveSubUserFromGroupRequestWithAllParams ¶ added in v1.10.0
func NewRemoveSubUserFromGroupRequestWithAllParams( groupName string, subUser string, ) *RemoveSubUserFromGroupRequest
* param groupName: 用户组名称 (Required) * param subUser: 子用户名 (Required)
func NewRemoveSubUserFromGroupRequestWithoutParam ¶ added in v1.10.0
func NewRemoveSubUserFromGroupRequestWithoutParam() *RemoveSubUserFromGroupRequest
This constructor has better compatible ability when API parameters changed
func (RemoveSubUserFromGroupRequest) GetRegionId ¶ added in v1.10.0
func (r RemoveSubUserFromGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RemoveSubUserFromGroupRequest) SetGroupName ¶ added in v1.10.0
func (r *RemoveSubUserFromGroupRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
func (*RemoveSubUserFromGroupRequest) SetSubUser ¶ added in v1.10.0
func (r *RemoveSubUserFromGroupRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
type RemoveSubUserFromGroupResponse ¶ added in v1.10.0
type RemoveSubUserFromGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RemoveSubUserFromGroupResult `json:"result"` }
type RemoveSubUserFromGroupResult ¶ added in v1.10.0
type RemoveSubUserFromGroupResult struct { }
type UpdateAssumeRolePolicyRequest ¶ added in v1.10.0
type UpdateAssumeRolePolicyRequest struct { core.JDCloudRequest /* 角色名称 */ RoleName string `json:"roleName"` /* 角色权限信息 */ UpdateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo `json:"updateAssumeRolePolicyInfo"` }
func NewUpdateAssumeRolePolicyRequest ¶ added in v1.10.0
func NewUpdateAssumeRolePolicyRequest( roleName string, updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo, ) *UpdateAssumeRolePolicyRequest
* param roleName: 角色名称 (Required) * param updateAssumeRolePolicyInfo: 角色权限信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateAssumeRolePolicyRequestWithAllParams ¶ added in v1.10.0
func NewUpdateAssumeRolePolicyRequestWithAllParams( roleName string, updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo, ) *UpdateAssumeRolePolicyRequest
* param roleName: 角色名称 (Required) * param updateAssumeRolePolicyInfo: 角色权限信息 (Required)
func NewUpdateAssumeRolePolicyRequestWithoutParam ¶ added in v1.10.0
func NewUpdateAssumeRolePolicyRequestWithoutParam() *UpdateAssumeRolePolicyRequest
This constructor has better compatible ability when API parameters changed
func (UpdateAssumeRolePolicyRequest) GetRegionId ¶ added in v1.10.0
func (r UpdateAssumeRolePolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateAssumeRolePolicyRequest) SetRoleName ¶ added in v1.10.0
func (r *UpdateAssumeRolePolicyRequest) SetRoleName(roleName string)
param roleName: 角色名称(Required)
func (*UpdateAssumeRolePolicyRequest) SetUpdateAssumeRolePolicyInfo ¶ added in v1.10.0
func (r *UpdateAssumeRolePolicyRequest) SetUpdateAssumeRolePolicyInfo(updateAssumeRolePolicyInfo *iam.UpdateAssumeRolePolicyInfo)
param updateAssumeRolePolicyInfo: 角色权限信息(Required)
type UpdateAssumeRolePolicyResponse ¶ added in v1.10.0
type UpdateAssumeRolePolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdateAssumeRolePolicyResult `json:"result"` }
type UpdateAssumeRolePolicyResult ¶ added in v1.10.0
type UpdateAssumeRolePolicyResult struct { }
type UpdateGroupRequest ¶ added in v1.10.0
type UpdateGroupRequest struct { core.JDCloudRequest /* 用户组名称 */ GroupName string `json:"groupName"` /* */ UpdateGroupInfo *iam.UpdateGroupInfo `json:"updateGroupInfo"` }
func NewUpdateGroupRequest ¶ added in v1.10.0
func NewUpdateGroupRequest( groupName string, updateGroupInfo *iam.UpdateGroupInfo, ) *UpdateGroupRequest
* param groupName: 用户组名称 (Required) * param updateGroupInfo: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateGroupRequestWithAllParams ¶ added in v1.10.0
func NewUpdateGroupRequestWithAllParams( groupName string, updateGroupInfo *iam.UpdateGroupInfo, ) *UpdateGroupRequest
* param groupName: 用户组名称 (Required) * param updateGroupInfo: (Required)
func NewUpdateGroupRequestWithoutParam ¶ added in v1.10.0
func NewUpdateGroupRequestWithoutParam() *UpdateGroupRequest
This constructor has better compatible ability when API parameters changed
func (UpdateGroupRequest) GetRegionId ¶ added in v1.10.0
func (r UpdateGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateGroupRequest) SetGroupName ¶ added in v1.10.0
func (r *UpdateGroupRequest) SetGroupName(groupName string)
param groupName: 用户组名称(Required)
func (*UpdateGroupRequest) SetUpdateGroupInfo ¶ added in v1.10.0
func (r *UpdateGroupRequest) SetUpdateGroupInfo(updateGroupInfo *iam.UpdateGroupInfo)
param updateGroupInfo: (Required)
type UpdateGroupResponse ¶ added in v1.10.0
type UpdateGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdateGroupResult `json:"result"` }
type UpdateGroupResult ¶ added in v1.10.0
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 ¶ added in v1.6.0
func NewUpdatePermissionRequestWithAllParams( regionId string, permissionId int, updatePermissionInfo *iam.UpdatePermissionInfo, ) *UpdatePermissionRequest
* param regionId: Region ID (Required) * param permissionId: 权限id (Required) * param updatePermissionInfo: 权限信息 (Required)
func NewUpdatePermissionRequestWithoutParam ¶ added in v1.6.0
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 ¶ added in v1.10.0
type UpdatePolicyDescriptionRequest struct { core.JDCloudRequest /* 策略名称 */ PolicyName string `json:"policyName"` /* 策略描述信息 */ UpdatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo `json:"updatePolicyDescriptionInfo"` }
func NewUpdatePolicyDescriptionRequest ¶ added in v1.10.0
func NewUpdatePolicyDescriptionRequest( policyName string, updatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo, ) *UpdatePolicyDescriptionRequest
* param policyName: 策略名称 (Required) * param updatePolicyDescriptionInfo: 策略描述信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdatePolicyDescriptionRequestWithAllParams ¶ added in v1.10.0
func NewUpdatePolicyDescriptionRequestWithAllParams( policyName string, updatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo, ) *UpdatePolicyDescriptionRequest
* param policyName: 策略名称 (Required) * param updatePolicyDescriptionInfo: 策略描述信息 (Required)
func NewUpdatePolicyDescriptionRequestWithoutParam ¶ added in v1.10.0
func NewUpdatePolicyDescriptionRequestWithoutParam() *UpdatePolicyDescriptionRequest
This constructor has better compatible ability when API parameters changed
func (UpdatePolicyDescriptionRequest) GetRegionId ¶ added in v1.10.0
func (r UpdatePolicyDescriptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdatePolicyDescriptionRequest) SetPolicyName ¶ added in v1.10.0
func (r *UpdatePolicyDescriptionRequest) SetPolicyName(policyName string)
param policyName: 策略名称(Required)
func (*UpdatePolicyDescriptionRequest) SetUpdatePolicyDescriptionInfo ¶ added in v1.10.0
func (r *UpdatePolicyDescriptionRequest) SetUpdatePolicyDescriptionInfo(updatePolicyDescriptionInfo *iam.UpdatePolicyDescriptionInfo)
param updatePolicyDescriptionInfo: 策略描述信息(Required)
type UpdatePolicyDescriptionResponse ¶ added in v1.10.0
type UpdatePolicyDescriptionResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdatePolicyDescriptionResult `json:"result"` }
type UpdatePolicyDescriptionResult ¶ added in v1.10.0
type UpdatePolicyDescriptionResult struct { }
type UpdateSubUserRequest ¶ added in v1.10.0
type UpdateSubUserRequest struct { core.JDCloudRequest /* 子用户名 */ SubUser string `json:"subUser"` /* 子用户信息 */ UpdateSubUserInfo *iam.UpdateSubUserInfo `json:"updateSubUserInfo"` }
func NewUpdateSubUserRequest ¶ added in v1.10.0
func NewUpdateSubUserRequest( subUser string, updateSubUserInfo *iam.UpdateSubUserInfo, ) *UpdateSubUserRequest
* param subUser: 子用户名 (Required) * param updateSubUserInfo: 子用户信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateSubUserRequestWithAllParams ¶ added in v1.10.0
func NewUpdateSubUserRequestWithAllParams( subUser string, updateSubUserInfo *iam.UpdateSubUserInfo, ) *UpdateSubUserRequest
* param subUser: 子用户名 (Required) * param updateSubUserInfo: 子用户信息 (Required)
func NewUpdateSubUserRequestWithoutParam ¶ added in v1.10.0
func NewUpdateSubUserRequestWithoutParam() *UpdateSubUserRequest
This constructor has better compatible ability when API parameters changed
func (UpdateSubUserRequest) GetRegionId ¶ added in v1.10.0
func (r UpdateSubUserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateSubUserRequest) SetSubUser ¶ added in v1.10.0
func (r *UpdateSubUserRequest) SetSubUser(subUser string)
param subUser: 子用户名(Required)
func (*UpdateSubUserRequest) SetUpdateSubUserInfo ¶ added in v1.10.0
func (r *UpdateSubUserRequest) SetUpdateSubUserInfo(updateSubUserInfo *iam.UpdateSubUserInfo)
param updateSubUserInfo: 子用户信息(Required)
type UpdateSubUserResponse ¶ added in v1.10.0
type UpdateSubUserResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdateSubUserResult `json:"result"` }
type UpdateSubUserResult ¶ added in v1.10.0
type UpdateSubUserResult struct {
SubUser iam.CreateSubUserRes `json:"subUser"`
}
Source Files ¶
- AddPermissionsToSubUser.go
- AddSubUserToGroup.go
- AttachGroupPolicy.go
- AttachRolePolicy.go
- AttachSubUserPolicy.go
- CreateGroup.go
- CreatePermission.go
- CreatePolicy.go
- CreateRole.go
- CreateSubUser.go
- CreateUserAccessKey.go
- DeleteGroup.go
- DeletePolicy.go
- DeleteRole.go
- DeleteSubUser.go
- DeleteSubUserAccessKey.go
- DeleteUserAccessKey.go
- DescribeAttachedGroupPolicies.go
- DescribeAttachedSubUserPolicies.go
- DescribeGroup.go
- DescribeGroupSubUsers.go
- DescribeGroups.go
- DescribePermissionDetail.go
- DescribePermissions.go
- DescribePolicies.go
- DescribePolicy.go
- DescribeRole.go
- DescribeRolePolicies.go
- DescribeRoles.go
- DescribeSubUser.go
- DescribeSubUserGroups.go
- DescribeSubUserPermissions.go
- DescribeSubUsers.go
- DescribeUserAccessKeys.go
- DetachGroupPolicy.go
- DetachRolePolicy.go
- DetachSubUserPolicy.go
- DisableSubUserAccessKey.go
- DisabledUserAccessKey.go
- EnableSubUserAccessKey.go
- EnabledUserAccessKey.go
- RemovePermissionOfSubUser.go
- RemoveSubUserFromGroup.go
- UpdateAssumeRolePolicy.go
- UpdateGroup.go
- UpdatePermission.go
- UpdatePolicyDescription.go
- UpdateSubUser.go