Documentation ¶
Overview ¶
Package iam20210801iface provides an interface to enable mocking the IAM20210801 service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type AttachPolicyInProjectInput
- func (s AttachPolicyInProjectInput) GoString() string
- func (s *AttachPolicyInProjectInput) SetPolicyName(v string) *AttachPolicyInProjectInput
- func (s *AttachPolicyInProjectInput) SetPolicyType(v string) *AttachPolicyInProjectInput
- func (s *AttachPolicyInProjectInput) SetPrincipalName(v string) *AttachPolicyInProjectInput
- func (s *AttachPolicyInProjectInput) SetPrincipalType(v string) *AttachPolicyInProjectInput
- func (s *AttachPolicyInProjectInput) SetProjectName(v []*string) *AttachPolicyInProjectInput
- func (s AttachPolicyInProjectInput) String() string
- func (s *AttachPolicyInProjectInput) Validate() error
- type AttachPolicyInProjectOutput
- type CreateProjectInput
- func (s CreateProjectInput) GoString() string
- func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetDisplayName(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetParentProjectName(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput
- func (s CreateProjectInput) String() string
- func (s *CreateProjectInput) Validate() error
- type CreateProjectOutput
- func (s CreateProjectOutput) GoString() string
- func (s *CreateProjectOutput) SetAccountID(v int32) *CreateProjectOutput
- func (s *CreateProjectOutput) SetCreateDate(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetDescription(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetDisplayName(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetParentProjectName(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetPath(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetProjectName(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetStatus(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetUpdateDate(v string) *CreateProjectOutput
- func (s CreateProjectOutput) String() string
- type DeleteProjectInput
- type DeleteProjectOutput
- type DetachPolicyInProjectInput
- func (s DetachPolicyInProjectInput) GoString() string
- func (s *DetachPolicyInProjectInput) SetPolicyName(v string) *DetachPolicyInProjectInput
- func (s *DetachPolicyInProjectInput) SetPolicyType(v string) *DetachPolicyInProjectInput
- func (s *DetachPolicyInProjectInput) SetPrincipalName(v string) *DetachPolicyInProjectInput
- func (s *DetachPolicyInProjectInput) SetPrincipalType(v string) *DetachPolicyInProjectInput
- func (s *DetachPolicyInProjectInput) SetProjectName(v []*string) *DetachPolicyInProjectInput
- func (s DetachPolicyInProjectInput) String() string
- func (s *DetachPolicyInProjectInput) Validate() error
- type DetachPolicyInProjectOutput
- type GetProjectInput
- type GetProjectOutput
- func (s GetProjectOutput) GoString() string
- func (s *GetProjectOutput) SetAccountID(v int32) *GetProjectOutput
- func (s *GetProjectOutput) SetCreateDate(v string) *GetProjectOutput
- func (s *GetProjectOutput) SetDescription(v string) *GetProjectOutput
- func (s *GetProjectOutput) SetDisplayName(v string) *GetProjectOutput
- func (s *GetProjectOutput) SetParentProjectName(v string) *GetProjectOutput
- func (s *GetProjectOutput) SetPath(v string) *GetProjectOutput
- func (s *GetProjectOutput) SetProjectName(v string) *GetProjectOutput
- func (s *GetProjectOutput) SetStatus(v string) *GetProjectOutput
- func (s *GetProjectOutput) SetUpdateDate(v string) *GetProjectOutput
- func (s GetProjectOutput) String() string
- type IAM20210801
- func (c *IAM20210801) AttachPolicyInProject(input *AttachPolicyInProjectInput) (*AttachPolicyInProjectOutput, error)
- func (c *IAM20210801) AttachPolicyInProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) AttachPolicyInProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) AttachPolicyInProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) AttachPolicyInProjectRequest(input *AttachPolicyInProjectInput) (req *request.Request, output *AttachPolicyInProjectOutput)
- func (c *IAM20210801) AttachPolicyInProjectWithContext(ctx volcengine.Context, input *AttachPolicyInProjectInput, ...) (*AttachPolicyInProjectOutput, error)
- func (c *IAM20210801) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)
- func (c *IAM20210801) CreateProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) CreateProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) CreateProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)
- func (c *IAM20210801) CreateProjectWithContext(ctx volcengine.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)
- func (c *IAM20210801) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)
- func (c *IAM20210801) DeleteProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) DeleteProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) DeleteProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)
- func (c *IAM20210801) DeleteProjectWithContext(ctx volcengine.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)
- func (c *IAM20210801) DetachPolicyInProject(input *DetachPolicyInProjectInput) (*DetachPolicyInProjectOutput, error)
- func (c *IAM20210801) DetachPolicyInProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) DetachPolicyInProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) DetachPolicyInProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) DetachPolicyInProjectRequest(input *DetachPolicyInProjectInput) (req *request.Request, output *DetachPolicyInProjectOutput)
- func (c *IAM20210801) DetachPolicyInProjectWithContext(ctx volcengine.Context, input *DetachPolicyInProjectInput, ...) (*DetachPolicyInProjectOutput, error)
- func (c *IAM20210801) GetProject(input *GetProjectInput) (*GetProjectOutput, error)
- func (c *IAM20210801) GetProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) GetProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) GetProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) GetProjectRequest(input *GetProjectInput) (req *request.Request, output *GetProjectOutput)
- func (c *IAM20210801) GetProjectWithContext(ctx volcengine.Context, input *GetProjectInput, opts ...request.Option) (*GetProjectOutput, error)
- func (c *IAM20210801) ListProjectIdentities(input *ListProjectIdentitiesInput) (*ListProjectIdentitiesOutput, error)
- func (c *IAM20210801) ListProjectIdentitiesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) ListProjectIdentitiesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) ListProjectIdentitiesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) ListProjectIdentitiesRequest(input *ListProjectIdentitiesInput) (req *request.Request, output *ListProjectIdentitiesOutput)
- func (c *IAM20210801) ListProjectIdentitiesWithContext(ctx volcengine.Context, input *ListProjectIdentitiesInput, ...) (*ListProjectIdentitiesOutput, error)
- func (c *IAM20210801) ListProjectResources(input *ListProjectResourcesInput) (*ListProjectResourcesOutput, error)
- func (c *IAM20210801) ListProjectResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) ListProjectResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) ListProjectResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) ListProjectResourcesRequest(input *ListProjectResourcesInput) (req *request.Request, output *ListProjectResourcesOutput)
- func (c *IAM20210801) ListProjectResourcesWithContext(ctx volcengine.Context, input *ListProjectResourcesInput, ...) (*ListProjectResourcesOutput, error)
- func (c *IAM20210801) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)
- func (c *IAM20210801) ListProjectsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) ListProjectsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) ListProjectsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)
- func (c *IAM20210801) ListProjectsWithContext(ctx volcengine.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)
- func (c *IAM20210801) MoveProjectResource(input *MoveProjectResourceInput) (*MoveProjectResourceOutput, error)
- func (c *IAM20210801) MoveProjectResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) MoveProjectResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) MoveProjectResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) MoveProjectResourceRequest(input *MoveProjectResourceInput) (req *request.Request, output *MoveProjectResourceOutput)
- func (c *IAM20210801) MoveProjectResourceWithContext(ctx volcengine.Context, input *MoveProjectResourceInput, ...) (*MoveProjectResourceOutput, error)
- func (c *IAM20210801) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)
- func (c *IAM20210801) UpdateProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *IAM20210801) UpdateProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *IAM20210801) UpdateProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *IAM20210801) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)
- func (c *IAM20210801) UpdateProjectWithContext(ctx volcengine.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)
- type IAM20210801API
- type ListProjectIdentitiesInput
- func (s ListProjectIdentitiesInput) GoString() string
- func (s *ListProjectIdentitiesInput) SetIdentityType(v string) *ListProjectIdentitiesInput
- func (s *ListProjectIdentitiesInput) SetLimit(v int32) *ListProjectIdentitiesInput
- func (s *ListProjectIdentitiesInput) SetOffset(v int32) *ListProjectIdentitiesInput
- func (s *ListProjectIdentitiesInput) SetProjectName(v string) *ListProjectIdentitiesInput
- func (s *ListProjectIdentitiesInput) SetQuery(v string) *ListProjectIdentitiesInput
- func (s ListProjectIdentitiesInput) String() string
- func (s *ListProjectIdentitiesInput) Validate() error
- type ListProjectIdentitiesOutput
- func (s ListProjectIdentitiesOutput) GoString() string
- func (s *ListProjectIdentitiesOutput) SetLimit(v int32) *ListProjectIdentitiesOutput
- func (s *ListProjectIdentitiesOutput) SetOffset(v int32) *ListProjectIdentitiesOutput
- func (s *ListProjectIdentitiesOutput) SetProjectRoles(v []*ProjectRoleForListProjectIdentitiesOutput) *ListProjectIdentitiesOutput
- func (s *ListProjectIdentitiesOutput) SetProjectUserGroups(v []*ProjectUserGroupForListProjectIdentitiesOutput) *ListProjectIdentitiesOutput
- func (s *ListProjectIdentitiesOutput) SetProjectUsers(v []*ProjectUserForListProjectIdentitiesOutput) *ListProjectIdentitiesOutput
- func (s *ListProjectIdentitiesOutput) SetTotal(v int32) *ListProjectIdentitiesOutput
- func (s ListProjectIdentitiesOutput) String() string
- type ListProjectResourcesInput
- func (s ListProjectResourcesInput) GoString() string
- func (s *ListProjectResourcesInput) SetLimit(v int32) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetOffset(v int32) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetOrderBy(v string) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetProjectName(v string) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetQuery(v string) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetResourceRegion(v string) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetResourceType(v string) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetServiceName(v string) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetSort(v int32) *ListProjectResourcesInput
- func (s *ListProjectResourcesInput) SetWithSubProjectResource(v int32) *ListProjectResourcesInput
- func (s ListProjectResourcesInput) String() string
- func (s *ListProjectResourcesInput) Validate() error
- type ListProjectResourcesOutput
- func (s ListProjectResourcesOutput) GoString() string
- func (s *ListProjectResourcesOutput) SetLimit(v int32) *ListProjectResourcesOutput
- func (s *ListProjectResourcesOutput) SetOffset(v int32) *ListProjectResourcesOutput
- func (s *ListProjectResourcesOutput) SetProjectResources(v []*ProjectResourceForListProjectResourcesOutput) *ListProjectResourcesOutput
- func (s *ListProjectResourcesOutput) SetTotal(v int32) *ListProjectResourcesOutput
- func (s ListProjectResourcesOutput) String() string
- type ListProjectsInput
- func (s ListProjectsInput) GoString() string
- func (s *ListProjectsInput) SetLimit(v int32) *ListProjectsInput
- func (s *ListProjectsInput) SetOffset(v int32) *ListProjectsInput
- func (s *ListProjectsInput) SetQuery(v string) *ListProjectsInput
- func (s *ListProjectsInput) SetWithParentProject(v int32) *ListProjectsInput
- func (s ListProjectsInput) String() string
- type ListProjectsOutput
- func (s ListProjectsOutput) GoString() string
- func (s *ListProjectsOutput) SetLimit(v int32) *ListProjectsOutput
- func (s *ListProjectsOutput) SetOffset(v int32) *ListProjectsOutput
- func (s *ListProjectsOutput) SetProjects(v []*ProjectForListProjectsOutput) *ListProjectsOutput
- func (s *ListProjectsOutput) SetTotal(v int32) *ListProjectsOutput
- func (s ListProjectsOutput) String() string
- type MoveProjectResourceInput
- func (s MoveProjectResourceInput) GoString() string
- func (s *MoveProjectResourceInput) SetResourceTrn(v []*string) *MoveProjectResourceInput
- func (s *MoveProjectResourceInput) SetTargetProjectName(v string) *MoveProjectResourceInput
- func (s MoveProjectResourceInput) String() string
- func (s *MoveProjectResourceInput) Validate() error
- type MoveProjectResourceOutput
- type PolicyForListProjectIdentitiesOutput
- func (s PolicyForListProjectIdentitiesOutput) GoString() string
- func (s *PolicyForListProjectIdentitiesOutput) SetAttachDate(v string) *PolicyForListProjectIdentitiesOutput
- func (s *PolicyForListProjectIdentitiesOutput) SetDescription(v string) *PolicyForListProjectIdentitiesOutput
- func (s *PolicyForListProjectIdentitiesOutput) SetIsServiceRolePolicy(v int32) *PolicyForListProjectIdentitiesOutput
- func (s *PolicyForListProjectIdentitiesOutput) SetPolicyName(v string) *PolicyForListProjectIdentitiesOutput
- func (s *PolicyForListProjectIdentitiesOutput) SetPolicyTrn(v string) *PolicyForListProjectIdentitiesOutput
- func (s *PolicyForListProjectIdentitiesOutput) SetPolicyType(v string) *PolicyForListProjectIdentitiesOutput
- func (s PolicyForListProjectIdentitiesOutput) String() string
- type ProjectForListProjectsOutput
- func (s ProjectForListProjectsOutput) GoString() string
- func (s *ProjectForListProjectsOutput) SetAccountID(v int64) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetCreateDate(v string) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetDescription(v string) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetDisplayName(v string) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetHasPermission(v bool) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetParentProjectName(v string) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetPath(v string) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetProjectName(v string) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetStatus(v string) *ProjectForListProjectsOutput
- func (s *ProjectForListProjectsOutput) SetUpdateDate(v string) *ProjectForListProjectsOutput
- func (s ProjectForListProjectsOutput) String() string
- type ProjectResourceForListProjectResourcesOutput
- func (s ProjectResourceForListProjectResourcesOutput) GoString() string
- func (s *ProjectResourceForListProjectResourcesOutput) SetAccountID(v int64) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetCreateDate(v string) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetProjectName(v string) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetResourceID(v string) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetResourceRegion(v string) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetResourceTrn(v string) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetResourceType(v string) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetServiceName(v string) *ProjectResourceForListProjectResourcesOutput
- func (s *ProjectResourceForListProjectResourcesOutput) SetUpdateDate(v string) *ProjectResourceForListProjectResourcesOutput
- func (s ProjectResourceForListProjectResourcesOutput) String() string
- type ProjectRoleForListProjectIdentitiesOutput
- func (s ProjectRoleForListProjectIdentitiesOutput) GoString() string
- func (s *ProjectRoleForListProjectIdentitiesOutput) SetDescription(v string) *ProjectRoleForListProjectIdentitiesOutput
- func (s *ProjectRoleForListProjectIdentitiesOutput) SetDisplayName(v string) *ProjectRoleForListProjectIdentitiesOutput
- func (s *ProjectRoleForListProjectIdentitiesOutput) SetPolicy(v []*PolicyForListProjectIdentitiesOutput) *ProjectRoleForListProjectIdentitiesOutput
- func (s *ProjectRoleForListProjectIdentitiesOutput) SetRoleName(v string) *ProjectRoleForListProjectIdentitiesOutput
- func (s *ProjectRoleForListProjectIdentitiesOutput) SetUpdateDate(v string) *ProjectRoleForListProjectIdentitiesOutput
- func (s ProjectRoleForListProjectIdentitiesOutput) String() string
- type ProjectUserForListProjectIdentitiesOutput
- func (s ProjectUserForListProjectIdentitiesOutput) GoString() string
- func (s *ProjectUserForListProjectIdentitiesOutput) SetDescription(v string) *ProjectUserForListProjectIdentitiesOutput
- func (s *ProjectUserForListProjectIdentitiesOutput) SetDisplayName(v string) *ProjectUserForListProjectIdentitiesOutput
- func (s *ProjectUserForListProjectIdentitiesOutput) SetPolicy(v []*PolicyForListProjectIdentitiesOutput) *ProjectUserForListProjectIdentitiesOutput
- func (s *ProjectUserForListProjectIdentitiesOutput) SetUpdateDate(v string) *ProjectUserForListProjectIdentitiesOutput
- func (s *ProjectUserForListProjectIdentitiesOutput) SetUserName(v string) *ProjectUserForListProjectIdentitiesOutput
- func (s ProjectUserForListProjectIdentitiesOutput) String() string
- type ProjectUserGroupForListProjectIdentitiesOutput
- func (s ProjectUserGroupForListProjectIdentitiesOutput) GoString() string
- func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetDescription(v string) *ProjectUserGroupForListProjectIdentitiesOutput
- func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetDisplayName(v string) *ProjectUserGroupForListProjectIdentitiesOutput
- func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetPolicy(v []*PolicyForListProjectIdentitiesOutput) *ProjectUserGroupForListProjectIdentitiesOutput
- func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetUpdateDate(v string) *ProjectUserGroupForListProjectIdentitiesOutput
- func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetUserGroupName(v string) *ProjectUserGroupForListProjectIdentitiesOutput
- func (s ProjectUserGroupForListProjectIdentitiesOutput) String() string
- type UpdateProjectInput
- func (s UpdateProjectInput) GoString() string
- func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput
- func (s *UpdateProjectInput) SetDisplayName(v string) *UpdateProjectInput
- func (s *UpdateProjectInput) SetProjectName(v string) *UpdateProjectInput
- func (s UpdateProjectInput) String() string
- func (s *UpdateProjectInput) Validate() error
- type UpdateProjectOutput
Constants ¶
const ( // EnumOfPolicyTypeForAttachPolicyInProjectInputSystem is a EnumOfPolicyTypeForAttachPolicyInProjectInput enum value EnumOfPolicyTypeForAttachPolicyInProjectInputSystem = "System" // EnumOfPolicyTypeForAttachPolicyInProjectInputCustom is a EnumOfPolicyTypeForAttachPolicyInProjectInput enum value EnumOfPolicyTypeForAttachPolicyInProjectInputCustom = "Custom" )
const ( // EnumOfPrincipalTypeForAttachPolicyInProjectInputUser is a EnumOfPrincipalTypeForAttachPolicyInProjectInput enum value EnumOfPrincipalTypeForAttachPolicyInProjectInputUser = "User" // EnumOfPrincipalTypeForAttachPolicyInProjectInputRole is a EnumOfPrincipalTypeForAttachPolicyInProjectInput enum value EnumOfPrincipalTypeForAttachPolicyInProjectInputRole = "Role" // EnumOfPrincipalTypeForAttachPolicyInProjectInputUserGroup is a EnumOfPrincipalTypeForAttachPolicyInProjectInput enum value EnumOfPrincipalTypeForAttachPolicyInProjectInputUserGroup = "UserGroup" )
const ( // EnumOfPolicyTypeForDetachPolicyInProjectInputSystem is a EnumOfPolicyTypeForDetachPolicyInProjectInput enum value EnumOfPolicyTypeForDetachPolicyInProjectInputSystem = "System" // EnumOfPolicyTypeForDetachPolicyInProjectInputCustom is a EnumOfPolicyTypeForDetachPolicyInProjectInput enum value EnumOfPolicyTypeForDetachPolicyInProjectInputCustom = "Custom" )
const ( // EnumOfPrincipalTypeForDetachPolicyInProjectInputUser is a EnumOfPrincipalTypeForDetachPolicyInProjectInput enum value EnumOfPrincipalTypeForDetachPolicyInProjectInputUser = "User" // EnumOfPrincipalTypeForDetachPolicyInProjectInputRole is a EnumOfPrincipalTypeForDetachPolicyInProjectInput enum value EnumOfPrincipalTypeForDetachPolicyInProjectInputRole = "Role" // EnumOfPrincipalTypeForDetachPolicyInProjectInputUserGroup is a EnumOfPrincipalTypeForDetachPolicyInProjectInput enum value EnumOfPrincipalTypeForDetachPolicyInProjectInputUserGroup = "UserGroup" )
const ( // EnumOfIdentityTypeForListProjectIdentitiesInputUser is a EnumOfIdentityTypeForListProjectIdentitiesInput enum value EnumOfIdentityTypeForListProjectIdentitiesInputUser = "User" // EnumOfIdentityTypeForListProjectIdentitiesInputRole is a EnumOfIdentityTypeForListProjectIdentitiesInput enum value EnumOfIdentityTypeForListProjectIdentitiesInputRole = "Role" // EnumOfIdentityTypeForListProjectIdentitiesInputUserGroup is a EnumOfIdentityTypeForListProjectIdentitiesInput enum value EnumOfIdentityTypeForListProjectIdentitiesInputUserGroup = "UserGroup" )
const ( // EnumOfOrderByForListProjectResourcesInputCreatedTime is a EnumOfOrderByForListProjectResourcesInput enum value EnumOfOrderByForListProjectResourcesInputCreatedTime = "CreatedTime" // EnumOfOrderByForListProjectResourcesInputUpdatedTime is a EnumOfOrderByForListProjectResourcesInput enum value EnumOfOrderByForListProjectResourcesInputUpdatedTime = "UpdatedTime" )
const ( ServiceName = "iam" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "iam" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachPolicyInProjectInput ¶
type AttachPolicyInProjectInput struct { // PolicyName is a required field PolicyName *string `type:"string" required:"true"` // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"EnumOfPolicyTypeForAttachPolicyInProjectInput"` // PrincipalName is a required field PrincipalName *string `type:"string" required:"true"` // PrincipalType is a required field PrincipalType *string `type:"string" required:"true" enum:"EnumOfPrincipalTypeForAttachPolicyInProjectInput"` // ProjectName is a required field ProjectName []*string `type:"list" required:"true"` // contains filtered or unexported fields }
func (AttachPolicyInProjectInput) GoString ¶
func (s AttachPolicyInProjectInput) GoString() string
GoString returns the string representation
func (*AttachPolicyInProjectInput) SetPolicyName ¶
func (s *AttachPolicyInProjectInput) SetPolicyName(v string) *AttachPolicyInProjectInput
SetPolicyName sets the PolicyName field's value.
func (*AttachPolicyInProjectInput) SetPolicyType ¶
func (s *AttachPolicyInProjectInput) SetPolicyType(v string) *AttachPolicyInProjectInput
SetPolicyType sets the PolicyType field's value.
func (*AttachPolicyInProjectInput) SetPrincipalName ¶
func (s *AttachPolicyInProjectInput) SetPrincipalName(v string) *AttachPolicyInProjectInput
SetPrincipalName sets the PrincipalName field's value.
func (*AttachPolicyInProjectInput) SetPrincipalType ¶
func (s *AttachPolicyInProjectInput) SetPrincipalType(v string) *AttachPolicyInProjectInput
SetPrincipalType sets the PrincipalType field's value.
func (*AttachPolicyInProjectInput) SetProjectName ¶
func (s *AttachPolicyInProjectInput) SetProjectName(v []*string) *AttachPolicyInProjectInput
SetProjectName sets the ProjectName field's value.
func (AttachPolicyInProjectInput) String ¶
func (s AttachPolicyInProjectInput) String() string
String returns the string representation
func (*AttachPolicyInProjectInput) Validate ¶
func (s *AttachPolicyInProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachPolicyInProjectOutput ¶
type AttachPolicyInProjectOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (AttachPolicyInProjectOutput) GoString ¶
func (s AttachPolicyInProjectOutput) GoString() string
GoString returns the string representation
func (AttachPolicyInProjectOutput) String ¶
func (s AttachPolicyInProjectOutput) String() string
String returns the string representation
type CreateProjectInput ¶
type CreateProjectInput struct { Description *string `type:"string"` DisplayName *string `type:"string"` ParentProjectName *string `type:"string"` // ProjectName is a required field ProjectName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateProjectInput) GoString ¶
func (s CreateProjectInput) GoString() string
GoString returns the string representation
func (*CreateProjectInput) SetDescription ¶
func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput
SetDescription sets the Description field's value.
func (*CreateProjectInput) SetDisplayName ¶
func (s *CreateProjectInput) SetDisplayName(v string) *CreateProjectInput
SetDisplayName sets the DisplayName field's value.
func (*CreateProjectInput) SetParentProjectName ¶
func (s *CreateProjectInput) SetParentProjectName(v string) *CreateProjectInput
SetParentProjectName sets the ParentProjectName field's value.
func (*CreateProjectInput) SetProjectName ¶
func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput
SetProjectName sets the ProjectName field's value.
func (CreateProjectInput) String ¶
func (s CreateProjectInput) String() string
String returns the string representation
func (*CreateProjectInput) Validate ¶
func (s *CreateProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProjectOutput ¶
type CreateProjectOutput struct { Metadata *response.ResponseMetadata AccountID *int32 `type:"int32"` CreateDate *string `type:"string"` Description *string `type:"string"` DisplayName *string `type:"string"` ParentProjectName *string `type:"string"` Path *string `type:"string"` ProjectName *string `type:"string"` Status *string `type:"string"` UpdateDate *string `type:"string"` // contains filtered or unexported fields }
func (CreateProjectOutput) GoString ¶
func (s CreateProjectOutput) GoString() string
GoString returns the string representation
func (*CreateProjectOutput) SetAccountID ¶
func (s *CreateProjectOutput) SetAccountID(v int32) *CreateProjectOutput
SetAccountID sets the AccountID field's value.
func (*CreateProjectOutput) SetCreateDate ¶
func (s *CreateProjectOutput) SetCreateDate(v string) *CreateProjectOutput
SetCreateDate sets the CreateDate field's value.
func (*CreateProjectOutput) SetDescription ¶
func (s *CreateProjectOutput) SetDescription(v string) *CreateProjectOutput
SetDescription sets the Description field's value.
func (*CreateProjectOutput) SetDisplayName ¶
func (s *CreateProjectOutput) SetDisplayName(v string) *CreateProjectOutput
SetDisplayName sets the DisplayName field's value.
func (*CreateProjectOutput) SetParentProjectName ¶
func (s *CreateProjectOutput) SetParentProjectName(v string) *CreateProjectOutput
SetParentProjectName sets the ParentProjectName field's value.
func (*CreateProjectOutput) SetPath ¶
func (s *CreateProjectOutput) SetPath(v string) *CreateProjectOutput
SetPath sets the Path field's value.
func (*CreateProjectOutput) SetProjectName ¶
func (s *CreateProjectOutput) SetProjectName(v string) *CreateProjectOutput
SetProjectName sets the ProjectName field's value.
func (*CreateProjectOutput) SetStatus ¶
func (s *CreateProjectOutput) SetStatus(v string) *CreateProjectOutput
SetStatus sets the Status field's value.
func (*CreateProjectOutput) SetUpdateDate ¶
func (s *CreateProjectOutput) SetUpdateDate(v string) *CreateProjectOutput
SetUpdateDate sets the UpdateDate field's value.
func (CreateProjectOutput) String ¶
func (s CreateProjectOutput) String() string
String returns the string representation
type DeleteProjectInput ¶
type DeleteProjectInput struct { // ProjectName is a required field ProjectName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteProjectInput) GoString ¶
func (s DeleteProjectInput) GoString() string
GoString returns the string representation
func (*DeleteProjectInput) SetProjectName ¶
func (s *DeleteProjectInput) SetProjectName(v string) *DeleteProjectInput
SetProjectName sets the ProjectName field's value.
func (DeleteProjectInput) String ¶
func (s DeleteProjectInput) String() string
String returns the string representation
func (*DeleteProjectInput) Validate ¶
func (s *DeleteProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProjectOutput ¶
type DeleteProjectOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (DeleteProjectOutput) GoString ¶
func (s DeleteProjectOutput) GoString() string
GoString returns the string representation
func (DeleteProjectOutput) String ¶
func (s DeleteProjectOutput) String() string
String returns the string representation
type DetachPolicyInProjectInput ¶
type DetachPolicyInProjectInput struct { // PolicyName is a required field PolicyName *string `type:"string" required:"true"` // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"EnumOfPolicyTypeForDetachPolicyInProjectInput"` // PrincipalName is a required field PrincipalName *string `type:"string" required:"true"` // PrincipalType is a required field PrincipalType *string `type:"string" required:"true" enum:"EnumOfPrincipalTypeForDetachPolicyInProjectInput"` // ProjectName is a required field ProjectName []*string `type:"list" required:"true"` // contains filtered or unexported fields }
func (DetachPolicyInProjectInput) GoString ¶
func (s DetachPolicyInProjectInput) GoString() string
GoString returns the string representation
func (*DetachPolicyInProjectInput) SetPolicyName ¶
func (s *DetachPolicyInProjectInput) SetPolicyName(v string) *DetachPolicyInProjectInput
SetPolicyName sets the PolicyName field's value.
func (*DetachPolicyInProjectInput) SetPolicyType ¶
func (s *DetachPolicyInProjectInput) SetPolicyType(v string) *DetachPolicyInProjectInput
SetPolicyType sets the PolicyType field's value.
func (*DetachPolicyInProjectInput) SetPrincipalName ¶
func (s *DetachPolicyInProjectInput) SetPrincipalName(v string) *DetachPolicyInProjectInput
SetPrincipalName sets the PrincipalName field's value.
func (*DetachPolicyInProjectInput) SetPrincipalType ¶
func (s *DetachPolicyInProjectInput) SetPrincipalType(v string) *DetachPolicyInProjectInput
SetPrincipalType sets the PrincipalType field's value.
func (*DetachPolicyInProjectInput) SetProjectName ¶
func (s *DetachPolicyInProjectInput) SetProjectName(v []*string) *DetachPolicyInProjectInput
SetProjectName sets the ProjectName field's value.
func (DetachPolicyInProjectInput) String ¶
func (s DetachPolicyInProjectInput) String() string
String returns the string representation
func (*DetachPolicyInProjectInput) Validate ¶
func (s *DetachPolicyInProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachPolicyInProjectOutput ¶
type DetachPolicyInProjectOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (DetachPolicyInProjectOutput) GoString ¶
func (s DetachPolicyInProjectOutput) GoString() string
GoString returns the string representation
func (DetachPolicyInProjectOutput) String ¶
func (s DetachPolicyInProjectOutput) String() string
String returns the string representation
type GetProjectInput ¶
type GetProjectInput struct { // ProjectName is a required field ProjectName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetProjectInput) GoString ¶
func (s GetProjectInput) GoString() string
GoString returns the string representation
func (*GetProjectInput) SetProjectName ¶
func (s *GetProjectInput) SetProjectName(v string) *GetProjectInput
SetProjectName sets the ProjectName field's value.
func (GetProjectInput) String ¶
func (s GetProjectInput) String() string
String returns the string representation
func (*GetProjectInput) Validate ¶
func (s *GetProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetProjectOutput ¶
type GetProjectOutput struct { Metadata *response.ResponseMetadata AccountID *int32 `type:"int32"` CreateDate *string `type:"string"` Description *string `type:"string"` DisplayName *string `type:"string"` ParentProjectName *string `type:"string"` Path *string `type:"string"` ProjectName *string `type:"string"` Status *string `type:"string"` UpdateDate *string `type:"string"` // contains filtered or unexported fields }
func (GetProjectOutput) GoString ¶
func (s GetProjectOutput) GoString() string
GoString returns the string representation
func (*GetProjectOutput) SetAccountID ¶
func (s *GetProjectOutput) SetAccountID(v int32) *GetProjectOutput
SetAccountID sets the AccountID field's value.
func (*GetProjectOutput) SetCreateDate ¶
func (s *GetProjectOutput) SetCreateDate(v string) *GetProjectOutput
SetCreateDate sets the CreateDate field's value.
func (*GetProjectOutput) SetDescription ¶
func (s *GetProjectOutput) SetDescription(v string) *GetProjectOutput
SetDescription sets the Description field's value.
func (*GetProjectOutput) SetDisplayName ¶
func (s *GetProjectOutput) SetDisplayName(v string) *GetProjectOutput
SetDisplayName sets the DisplayName field's value.
func (*GetProjectOutput) SetParentProjectName ¶
func (s *GetProjectOutput) SetParentProjectName(v string) *GetProjectOutput
SetParentProjectName sets the ParentProjectName field's value.
func (*GetProjectOutput) SetPath ¶
func (s *GetProjectOutput) SetPath(v string) *GetProjectOutput
SetPath sets the Path field's value.
func (*GetProjectOutput) SetProjectName ¶
func (s *GetProjectOutput) SetProjectName(v string) *GetProjectOutput
SetProjectName sets the ProjectName field's value.
func (*GetProjectOutput) SetStatus ¶
func (s *GetProjectOutput) SetStatus(v string) *GetProjectOutput
SetStatus sets the Status field's value.
func (*GetProjectOutput) SetUpdateDate ¶
func (s *GetProjectOutput) SetUpdateDate(v string) *GetProjectOutput
SetUpdateDate sets the UpdateDate field's value.
func (GetProjectOutput) String ¶
func (s GetProjectOutput) String() string
String returns the string representation
type IAM20210801 ¶
IAM20210801 provides the API operation methods for making requests to IAM20210801. See this package's package overview docs for details on the service.
IAM20210801 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *IAM20210801
New create int can support ssl or region locate set
func (*IAM20210801) AttachPolicyInProject ¶
func (c *IAM20210801) AttachPolicyInProject(input *AttachPolicyInProjectInput) (*AttachPolicyInProjectOutput, error)
AttachPolicyInProject API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation AttachPolicyInProject for usage and error information.
func (*IAM20210801) AttachPolicyInProjectCommon ¶
func (c *IAM20210801) AttachPolicyInProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
AttachPolicyInProjectCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation AttachPolicyInProjectCommon for usage and error information.
func (*IAM20210801) AttachPolicyInProjectCommonRequest ¶
func (c *IAM20210801) AttachPolicyInProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
AttachPolicyInProjectCommonRequest generates a "volcengine/request.Request" representing the client's request for the AttachPolicyInProjectCommon operation. The "output" return value will be populated with the AttachPolicyInProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned AttachPolicyInProjectCommon Request to send the API call to the service. the "output" return value is not valid until after AttachPolicyInProjectCommon Send returns without error.
See AttachPolicyInProjectCommon for more information on using the AttachPolicyInProjectCommon API call, and error handling.
// Example sending a request using the AttachPolicyInProjectCommonRequest method. req, resp := client.AttachPolicyInProjectCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) AttachPolicyInProjectCommonWithContext ¶
func (c *IAM20210801) AttachPolicyInProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
AttachPolicyInProjectCommonWithContext is the same as AttachPolicyInProjectCommon with the addition of the ability to pass a context and additional request options.
See AttachPolicyInProjectCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) AttachPolicyInProjectRequest ¶
func (c *IAM20210801) AttachPolicyInProjectRequest(input *AttachPolicyInProjectInput) (req *request.Request, output *AttachPolicyInProjectOutput)
AttachPolicyInProjectRequest generates a "volcengine/request.Request" representing the client's request for the AttachPolicyInProject operation. The "output" return value will be populated with the AttachPolicyInProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned AttachPolicyInProjectCommon Request to send the API call to the service. the "output" return value is not valid until after AttachPolicyInProjectCommon Send returns without error.
See AttachPolicyInProject for more information on using the AttachPolicyInProject API call, and error handling.
// Example sending a request using the AttachPolicyInProjectRequest method. req, resp := client.AttachPolicyInProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) AttachPolicyInProjectWithContext ¶
func (c *IAM20210801) AttachPolicyInProjectWithContext(ctx volcengine.Context, input *AttachPolicyInProjectInput, opts ...request.Option) (*AttachPolicyInProjectOutput, error)
AttachPolicyInProjectWithContext is the same as AttachPolicyInProject with the addition of the ability to pass a context and additional request options.
See AttachPolicyInProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) CreateProject ¶
func (c *IAM20210801) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)
CreateProject API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation CreateProject for usage and error information.
func (*IAM20210801) CreateProjectCommon ¶
func (c *IAM20210801) CreateProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
CreateProjectCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation CreateProjectCommon for usage and error information.
func (*IAM20210801) CreateProjectCommonRequest ¶
func (c *IAM20210801) CreateProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateProjectCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateProjectCommon operation. The "output" return value will be populated with the CreateProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateProjectCommon Request to send the API call to the service. the "output" return value is not valid until after CreateProjectCommon Send returns without error.
See CreateProjectCommon for more information on using the CreateProjectCommon API call, and error handling.
// Example sending a request using the CreateProjectCommonRequest method. req, resp := client.CreateProjectCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) CreateProjectCommonWithContext ¶
func (c *IAM20210801) CreateProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateProjectCommonWithContext is the same as CreateProjectCommon with the addition of the ability to pass a context and additional request options.
See CreateProjectCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) CreateProjectRequest ¶
func (c *IAM20210801) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)
CreateProjectRequest generates a "volcengine/request.Request" representing the client's request for the CreateProject operation. The "output" return value will be populated with the CreateProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateProjectCommon Request to send the API call to the service. the "output" return value is not valid until after CreateProjectCommon Send returns without error.
See CreateProject for more information on using the CreateProject API call, and error handling.
// Example sending a request using the CreateProjectRequest method. req, resp := client.CreateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) CreateProjectWithContext ¶
func (c *IAM20210801) CreateProjectWithContext(ctx volcengine.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)
CreateProjectWithContext is the same as CreateProject with the addition of the ability to pass a context and additional request options.
See CreateProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) DeleteProject ¶
func (c *IAM20210801) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)
DeleteProject API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation DeleteProject for usage and error information.
func (*IAM20210801) DeleteProjectCommon ¶
func (c *IAM20210801) DeleteProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DeleteProjectCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation DeleteProjectCommon for usage and error information.
func (*IAM20210801) DeleteProjectCommonRequest ¶
func (c *IAM20210801) DeleteProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteProjectCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteProjectCommon operation. The "output" return value will be populated with the DeleteProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteProjectCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteProjectCommon Send returns without error.
See DeleteProjectCommon for more information on using the DeleteProjectCommon API call, and error handling.
// Example sending a request using the DeleteProjectCommonRequest method. req, resp := client.DeleteProjectCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) DeleteProjectCommonWithContext ¶
func (c *IAM20210801) DeleteProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteProjectCommonWithContext is the same as DeleteProjectCommon with the addition of the ability to pass a context and additional request options.
See DeleteProjectCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) DeleteProjectRequest ¶
func (c *IAM20210801) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)
DeleteProjectRequest generates a "volcengine/request.Request" representing the client's request for the DeleteProject operation. The "output" return value will be populated with the DeleteProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteProjectCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteProjectCommon Send returns without error.
See DeleteProject for more information on using the DeleteProject API call, and error handling.
// Example sending a request using the DeleteProjectRequest method. req, resp := client.DeleteProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) DeleteProjectWithContext ¶
func (c *IAM20210801) DeleteProjectWithContext(ctx volcengine.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)
DeleteProjectWithContext is the same as DeleteProject with the addition of the ability to pass a context and additional request options.
See DeleteProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) DetachPolicyInProject ¶
func (c *IAM20210801) DetachPolicyInProject(input *DetachPolicyInProjectInput) (*DetachPolicyInProjectOutput, error)
DetachPolicyInProject API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation DetachPolicyInProject for usage and error information.
func (*IAM20210801) DetachPolicyInProjectCommon ¶
func (c *IAM20210801) DetachPolicyInProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DetachPolicyInProjectCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation DetachPolicyInProjectCommon for usage and error information.
func (*IAM20210801) DetachPolicyInProjectCommonRequest ¶
func (c *IAM20210801) DetachPolicyInProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DetachPolicyInProjectCommonRequest generates a "volcengine/request.Request" representing the client's request for the DetachPolicyInProjectCommon operation. The "output" return value will be populated with the DetachPolicyInProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned DetachPolicyInProjectCommon Request to send the API call to the service. the "output" return value is not valid until after DetachPolicyInProjectCommon Send returns without error.
See DetachPolicyInProjectCommon for more information on using the DetachPolicyInProjectCommon API call, and error handling.
// Example sending a request using the DetachPolicyInProjectCommonRequest method. req, resp := client.DetachPolicyInProjectCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) DetachPolicyInProjectCommonWithContext ¶
func (c *IAM20210801) DetachPolicyInProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DetachPolicyInProjectCommonWithContext is the same as DetachPolicyInProjectCommon with the addition of the ability to pass a context and additional request options.
See DetachPolicyInProjectCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) DetachPolicyInProjectRequest ¶
func (c *IAM20210801) DetachPolicyInProjectRequest(input *DetachPolicyInProjectInput) (req *request.Request, output *DetachPolicyInProjectOutput)
DetachPolicyInProjectRequest generates a "volcengine/request.Request" representing the client's request for the DetachPolicyInProject operation. The "output" return value will be populated with the DetachPolicyInProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned DetachPolicyInProjectCommon Request to send the API call to the service. the "output" return value is not valid until after DetachPolicyInProjectCommon Send returns without error.
See DetachPolicyInProject for more information on using the DetachPolicyInProject API call, and error handling.
// Example sending a request using the DetachPolicyInProjectRequest method. req, resp := client.DetachPolicyInProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) DetachPolicyInProjectWithContext ¶
func (c *IAM20210801) DetachPolicyInProjectWithContext(ctx volcengine.Context, input *DetachPolicyInProjectInput, opts ...request.Option) (*DetachPolicyInProjectOutput, error)
DetachPolicyInProjectWithContext is the same as DetachPolicyInProject with the addition of the ability to pass a context and additional request options.
See DetachPolicyInProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) GetProject ¶
func (c *IAM20210801) GetProject(input *GetProjectInput) (*GetProjectOutput, error)
GetProject API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation GetProject for usage and error information.
func (*IAM20210801) GetProjectCommon ¶
func (c *IAM20210801) GetProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetProjectCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation GetProjectCommon for usage and error information.
func (*IAM20210801) GetProjectCommonRequest ¶
func (c *IAM20210801) GetProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetProjectCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetProjectCommon operation. The "output" return value will be populated with the GetProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned GetProjectCommon Request to send the API call to the service. the "output" return value is not valid until after GetProjectCommon Send returns without error.
See GetProjectCommon for more information on using the GetProjectCommon API call, and error handling.
// Example sending a request using the GetProjectCommonRequest method. req, resp := client.GetProjectCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) GetProjectCommonWithContext ¶
func (c *IAM20210801) GetProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetProjectCommonWithContext is the same as GetProjectCommon with the addition of the ability to pass a context and additional request options.
See GetProjectCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) GetProjectRequest ¶
func (c *IAM20210801) GetProjectRequest(input *GetProjectInput) (req *request.Request, output *GetProjectOutput)
GetProjectRequest generates a "volcengine/request.Request" representing the client's request for the GetProject operation. The "output" return value will be populated with the GetProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned GetProjectCommon Request to send the API call to the service. the "output" return value is not valid until after GetProjectCommon Send returns without error.
See GetProject for more information on using the GetProject API call, and error handling.
// Example sending a request using the GetProjectRequest method. req, resp := client.GetProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) GetProjectWithContext ¶
func (c *IAM20210801) GetProjectWithContext(ctx volcengine.Context, input *GetProjectInput, opts ...request.Option) (*GetProjectOutput, error)
GetProjectWithContext is the same as GetProject with the addition of the ability to pass a context and additional request options.
See GetProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) ListProjectIdentities ¶
func (c *IAM20210801) ListProjectIdentities(input *ListProjectIdentitiesInput) (*ListProjectIdentitiesOutput, error)
ListProjectIdentities API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation ListProjectIdentities for usage and error information.
func (*IAM20210801) ListProjectIdentitiesCommon ¶
func (c *IAM20210801) ListProjectIdentitiesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListProjectIdentitiesCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation ListProjectIdentitiesCommon for usage and error information.
func (*IAM20210801) ListProjectIdentitiesCommonRequest ¶
func (c *IAM20210801) ListProjectIdentitiesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListProjectIdentitiesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListProjectIdentitiesCommon operation. The "output" return value will be populated with the ListProjectIdentitiesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListProjectIdentitiesCommon Request to send the API call to the service. the "output" return value is not valid until after ListProjectIdentitiesCommon Send returns without error.
See ListProjectIdentitiesCommon for more information on using the ListProjectIdentitiesCommon API call, and error handling.
// Example sending a request using the ListProjectIdentitiesCommonRequest method. req, resp := client.ListProjectIdentitiesCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) ListProjectIdentitiesCommonWithContext ¶
func (c *IAM20210801) ListProjectIdentitiesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListProjectIdentitiesCommonWithContext is the same as ListProjectIdentitiesCommon with the addition of the ability to pass a context and additional request options.
See ListProjectIdentitiesCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) ListProjectIdentitiesRequest ¶
func (c *IAM20210801) ListProjectIdentitiesRequest(input *ListProjectIdentitiesInput) (req *request.Request, output *ListProjectIdentitiesOutput)
ListProjectIdentitiesRequest generates a "volcengine/request.Request" representing the client's request for the ListProjectIdentities operation. The "output" return value will be populated with the ListProjectIdentitiesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListProjectIdentitiesCommon Request to send the API call to the service. the "output" return value is not valid until after ListProjectIdentitiesCommon Send returns without error.
See ListProjectIdentities for more information on using the ListProjectIdentities API call, and error handling.
// Example sending a request using the ListProjectIdentitiesRequest method. req, resp := client.ListProjectIdentitiesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) ListProjectIdentitiesWithContext ¶
func (c *IAM20210801) ListProjectIdentitiesWithContext(ctx volcengine.Context, input *ListProjectIdentitiesInput, opts ...request.Option) (*ListProjectIdentitiesOutput, error)
ListProjectIdentitiesWithContext is the same as ListProjectIdentities with the addition of the ability to pass a context and additional request options.
See ListProjectIdentities for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) ListProjectResources ¶
func (c *IAM20210801) ListProjectResources(input *ListProjectResourcesInput) (*ListProjectResourcesOutput, error)
ListProjectResources API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation ListProjectResources for usage and error information.
func (*IAM20210801) ListProjectResourcesCommon ¶
func (c *IAM20210801) ListProjectResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListProjectResourcesCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation ListProjectResourcesCommon for usage and error information.
func (*IAM20210801) ListProjectResourcesCommonRequest ¶
func (c *IAM20210801) ListProjectResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListProjectResourcesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListProjectResourcesCommon operation. The "output" return value will be populated with the ListProjectResourcesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListProjectResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after ListProjectResourcesCommon Send returns without error.
See ListProjectResourcesCommon for more information on using the ListProjectResourcesCommon API call, and error handling.
// Example sending a request using the ListProjectResourcesCommonRequest method. req, resp := client.ListProjectResourcesCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) ListProjectResourcesCommonWithContext ¶
func (c *IAM20210801) ListProjectResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListProjectResourcesCommonWithContext is the same as ListProjectResourcesCommon with the addition of the ability to pass a context and additional request options.
See ListProjectResourcesCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) ListProjectResourcesRequest ¶
func (c *IAM20210801) ListProjectResourcesRequest(input *ListProjectResourcesInput) (req *request.Request, output *ListProjectResourcesOutput)
ListProjectResourcesRequest generates a "volcengine/request.Request" representing the client's request for the ListProjectResources operation. The "output" return value will be populated with the ListProjectResourcesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListProjectResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after ListProjectResourcesCommon Send returns without error.
See ListProjectResources for more information on using the ListProjectResources API call, and error handling.
// Example sending a request using the ListProjectResourcesRequest method. req, resp := client.ListProjectResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) ListProjectResourcesWithContext ¶
func (c *IAM20210801) ListProjectResourcesWithContext(ctx volcengine.Context, input *ListProjectResourcesInput, opts ...request.Option) (*ListProjectResourcesOutput, error)
ListProjectResourcesWithContext is the same as ListProjectResources with the addition of the ability to pass a context and additional request options.
See ListProjectResources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) ListProjects ¶
func (c *IAM20210801) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)
ListProjects API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation ListProjects for usage and error information.
func (*IAM20210801) ListProjectsCommon ¶
func (c *IAM20210801) ListProjectsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListProjectsCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation ListProjectsCommon for usage and error information.
func (*IAM20210801) ListProjectsCommonRequest ¶
func (c *IAM20210801) ListProjectsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListProjectsCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListProjectsCommon operation. The "output" return value will be populated with the ListProjectsCommon request's response once the request completes successfully.
Use "Send" method on the returned ListProjectsCommon Request to send the API call to the service. the "output" return value is not valid until after ListProjectsCommon Send returns without error.
See ListProjectsCommon for more information on using the ListProjectsCommon API call, and error handling.
// Example sending a request using the ListProjectsCommonRequest method. req, resp := client.ListProjectsCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) ListProjectsCommonWithContext ¶
func (c *IAM20210801) ListProjectsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListProjectsCommonWithContext is the same as ListProjectsCommon with the addition of the ability to pass a context and additional request options.
See ListProjectsCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) ListProjectsRequest ¶
func (c *IAM20210801) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)
ListProjectsRequest generates a "volcengine/request.Request" representing the client's request for the ListProjects operation. The "output" return value will be populated with the ListProjectsCommon request's response once the request completes successfully.
Use "Send" method on the returned ListProjectsCommon Request to send the API call to the service. the "output" return value is not valid until after ListProjectsCommon Send returns without error.
See ListProjects for more information on using the ListProjects API call, and error handling.
// Example sending a request using the ListProjectsRequest method. req, resp := client.ListProjectsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) ListProjectsWithContext ¶
func (c *IAM20210801) ListProjectsWithContext(ctx volcengine.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)
ListProjectsWithContext is the same as ListProjects with the addition of the ability to pass a context and additional request options.
See ListProjects for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) MoveProjectResource ¶
func (c *IAM20210801) MoveProjectResource(input *MoveProjectResourceInput) (*MoveProjectResourceOutput, error)
MoveProjectResource API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation MoveProjectResource for usage and error information.
func (*IAM20210801) MoveProjectResourceCommon ¶
func (c *IAM20210801) MoveProjectResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
MoveProjectResourceCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation MoveProjectResourceCommon for usage and error information.
func (*IAM20210801) MoveProjectResourceCommonRequest ¶
func (c *IAM20210801) MoveProjectResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
MoveProjectResourceCommonRequest generates a "volcengine/request.Request" representing the client's request for the MoveProjectResourceCommon operation. The "output" return value will be populated with the MoveProjectResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned MoveProjectResourceCommon Request to send the API call to the service. the "output" return value is not valid until after MoveProjectResourceCommon Send returns without error.
See MoveProjectResourceCommon for more information on using the MoveProjectResourceCommon API call, and error handling.
// Example sending a request using the MoveProjectResourceCommonRequest method. req, resp := client.MoveProjectResourceCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) MoveProjectResourceCommonWithContext ¶
func (c *IAM20210801) MoveProjectResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
MoveProjectResourceCommonWithContext is the same as MoveProjectResourceCommon with the addition of the ability to pass a context and additional request options.
See MoveProjectResourceCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) MoveProjectResourceRequest ¶
func (c *IAM20210801) MoveProjectResourceRequest(input *MoveProjectResourceInput) (req *request.Request, output *MoveProjectResourceOutput)
MoveProjectResourceRequest generates a "volcengine/request.Request" representing the client's request for the MoveProjectResource operation. The "output" return value will be populated with the MoveProjectResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned MoveProjectResourceCommon Request to send the API call to the service. the "output" return value is not valid until after MoveProjectResourceCommon Send returns without error.
See MoveProjectResource for more information on using the MoveProjectResource API call, and error handling.
// Example sending a request using the MoveProjectResourceRequest method. req, resp := client.MoveProjectResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) MoveProjectResourceWithContext ¶
func (c *IAM20210801) MoveProjectResourceWithContext(ctx volcengine.Context, input *MoveProjectResourceInput, opts ...request.Option) (*MoveProjectResourceOutput, error)
MoveProjectResourceWithContext is the same as MoveProjectResource with the addition of the ability to pass a context and additional request options.
See MoveProjectResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) UpdateProject ¶
func (c *IAM20210801) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)
UpdateProject API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation UpdateProject for usage and error information.
func (*IAM20210801) UpdateProjectCommon ¶
func (c *IAM20210801) UpdateProjectCommon(input *map[string]interface{}) (*map[string]interface{}, error)
UpdateProjectCommon API operation for IAM20210801.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for IAM20210801's API operation UpdateProjectCommon for usage and error information.
func (*IAM20210801) UpdateProjectCommonRequest ¶
func (c *IAM20210801) UpdateProjectCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateProjectCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateProjectCommon operation. The "output" return value will be populated with the UpdateProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateProjectCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateProjectCommon Send returns without error.
See UpdateProjectCommon for more information on using the UpdateProjectCommon API call, and error handling.
// Example sending a request using the UpdateProjectCommonRequest method. req, resp := client.UpdateProjectCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) UpdateProjectCommonWithContext ¶
func (c *IAM20210801) UpdateProjectCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateProjectCommonWithContext is the same as UpdateProjectCommon with the addition of the ability to pass a context and additional request options.
See UpdateProjectCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IAM20210801) UpdateProjectRequest ¶
func (c *IAM20210801) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)
UpdateProjectRequest generates a "volcengine/request.Request" representing the client's request for the UpdateProject operation. The "output" return value will be populated with the UpdateProjectCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateProjectCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateProjectCommon Send returns without error.
See UpdateProject for more information on using the UpdateProject API call, and error handling.
// Example sending a request using the UpdateProjectRequest method. req, resp := client.UpdateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*IAM20210801) UpdateProjectWithContext ¶
func (c *IAM20210801) UpdateProjectWithContext(ctx volcengine.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)
UpdateProjectWithContext is the same as UpdateProject with the addition of the ability to pass a context and additional request options.
See UpdateProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type IAM20210801API ¶
type IAM20210801API interface { GetProjectCommon(*map[string]interface{}) (*map[string]interface{}, error) GetProjectCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProjectCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProject(*GetProjectInput) (*GetProjectOutput, error) GetProjectWithContext(volcengine.Context, *GetProjectInput, ...request.Option) (*GetProjectOutput, error) GetProjectRequest(*GetProjectInput) (*request.Request, *GetProjectOutput) ListProjectIdentitiesCommon(*map[string]interface{}) (*map[string]interface{}, error) ListProjectIdentitiesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ListProjectIdentitiesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ListProjectIdentities(*ListProjectIdentitiesInput) (*ListProjectIdentitiesOutput, error) ListProjectIdentitiesWithContext(volcengine.Context, *ListProjectIdentitiesInput, ...request.Option) (*ListProjectIdentitiesOutput, error) ListProjectIdentitiesRequest(*ListProjectIdentitiesInput) (*request.Request, *ListProjectIdentitiesOutput) ListProjectResourcesCommon(*map[string]interface{}) (*map[string]interface{}, error) ListProjectResourcesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ListProjectResourcesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ListProjectResources(*ListProjectResourcesInput) (*ListProjectResourcesOutput, error) ListProjectResourcesWithContext(volcengine.Context, *ListProjectResourcesInput, ...request.Option) (*ListProjectResourcesOutput, error) ListProjectResourcesRequest(*ListProjectResourcesInput) (*request.Request, *ListProjectResourcesOutput) ListProjectsCommon(*map[string]interface{}) (*map[string]interface{}, error) ListProjectsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ListProjectsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ListProjects(*ListProjectsInput) (*ListProjectsOutput, error) ListProjectsWithContext(volcengine.Context, *ListProjectsInput, ...request.Option) (*ListProjectsOutput, error) ListProjectsRequest(*ListProjectsInput) (*request.Request, *ListProjectsOutput) AttachPolicyInProjectCommon(*map[string]interface{}) (*map[string]interface{}, error) AttachPolicyInProjectCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) AttachPolicyInProjectCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) AttachPolicyInProject(*AttachPolicyInProjectInput) (*AttachPolicyInProjectOutput, error) AttachPolicyInProjectWithContext(volcengine.Context, *AttachPolicyInProjectInput, ...request.Option) (*AttachPolicyInProjectOutput, error) AttachPolicyInProjectRequest(*AttachPolicyInProjectInput) (*request.Request, *AttachPolicyInProjectOutput) CreateProjectCommon(*map[string]interface{}) (*map[string]interface{}, error) CreateProjectCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) CreateProjectCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) CreateProject(*CreateProjectInput) (*CreateProjectOutput, error) CreateProjectWithContext(volcengine.Context, *CreateProjectInput, ...request.Option) (*CreateProjectOutput, error) CreateProjectRequest(*CreateProjectInput) (*request.Request, *CreateProjectOutput) DeleteProjectCommon(*map[string]interface{}) (*map[string]interface{}, error) DeleteProjectCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteProjectCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteProject(*DeleteProjectInput) (*DeleteProjectOutput, error) DeleteProjectWithContext(volcengine.Context, *DeleteProjectInput, ...request.Option) (*DeleteProjectOutput, error) DeleteProjectRequest(*DeleteProjectInput) (*request.Request, *DeleteProjectOutput) DetachPolicyInProjectCommon(*map[string]interface{}) (*map[string]interface{}, error) DetachPolicyInProjectCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DetachPolicyInProjectCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DetachPolicyInProject(*DetachPolicyInProjectInput) (*DetachPolicyInProjectOutput, error) DetachPolicyInProjectWithContext(volcengine.Context, *DetachPolicyInProjectInput, ...request.Option) (*DetachPolicyInProjectOutput, error) DetachPolicyInProjectRequest(*DetachPolicyInProjectInput) (*request.Request, *DetachPolicyInProjectOutput) MoveProjectResourceCommon(*map[string]interface{}) (*map[string]interface{}, error) MoveProjectResourceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) MoveProjectResourceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) MoveProjectResource(*MoveProjectResourceInput) (*MoveProjectResourceOutput, error) MoveProjectResourceWithContext(volcengine.Context, *MoveProjectResourceInput, ...request.Option) (*MoveProjectResourceOutput, error) MoveProjectResourceRequest(*MoveProjectResourceInput) (*request.Request, *MoveProjectResourceOutput) UpdateProjectCommon(*map[string]interface{}) (*map[string]interface{}, error) UpdateProjectCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) UpdateProjectCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) UpdateProject(*UpdateProjectInput) (*UpdateProjectOutput, error) UpdateProjectWithContext(volcengine.Context, *UpdateProjectInput, ...request.Option) (*UpdateProjectOutput, error) UpdateProjectRequest(*UpdateProjectInput) (*request.Request, *UpdateProjectOutput) }
IAM20210801API provides an interface to enable mocking the iam20210801.IAM20210801 service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to // IAM20210801. func myFunc(svc IAM20210801API) bool { // Make svc.GetProject request } func main() { sess := session.New() svc := iam20210801.New(sess) myFunc(svc) }
type ListProjectIdentitiesInput ¶
type ListProjectIdentitiesInput struct { // IdentityType is a required field IdentityType *string `type:"string" required:"true" enum:"EnumOfIdentityTypeForListProjectIdentitiesInput"` Limit *int32 `type:"int32"` Offset *int32 `type:"int32"` // ProjectName is a required field ProjectName *string `type:"string" required:"true"` Query *string `type:"string"` // contains filtered or unexported fields }
func (ListProjectIdentitiesInput) GoString ¶
func (s ListProjectIdentitiesInput) GoString() string
GoString returns the string representation
func (*ListProjectIdentitiesInput) SetIdentityType ¶
func (s *ListProjectIdentitiesInput) SetIdentityType(v string) *ListProjectIdentitiesInput
SetIdentityType sets the IdentityType field's value.
func (*ListProjectIdentitiesInput) SetLimit ¶
func (s *ListProjectIdentitiesInput) SetLimit(v int32) *ListProjectIdentitiesInput
SetLimit sets the Limit field's value.
func (*ListProjectIdentitiesInput) SetOffset ¶
func (s *ListProjectIdentitiesInput) SetOffset(v int32) *ListProjectIdentitiesInput
SetOffset sets the Offset field's value.
func (*ListProjectIdentitiesInput) SetProjectName ¶
func (s *ListProjectIdentitiesInput) SetProjectName(v string) *ListProjectIdentitiesInput
SetProjectName sets the ProjectName field's value.
func (*ListProjectIdentitiesInput) SetQuery ¶
func (s *ListProjectIdentitiesInput) SetQuery(v string) *ListProjectIdentitiesInput
SetQuery sets the Query field's value.
func (ListProjectIdentitiesInput) String ¶
func (s ListProjectIdentitiesInput) String() string
String returns the string representation
func (*ListProjectIdentitiesInput) Validate ¶
func (s *ListProjectIdentitiesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProjectIdentitiesOutput ¶
type ListProjectIdentitiesOutput struct { Metadata *response.ResponseMetadata Limit *int32 `type:"int32"` Offset *int32 `type:"int32"` ProjectRoles []*ProjectRoleForListProjectIdentitiesOutput `type:"list"` ProjectUserGroups []*ProjectUserGroupForListProjectIdentitiesOutput `type:"list"` ProjectUsers []*ProjectUserForListProjectIdentitiesOutput `type:"list"` Total *int32 `type:"int32"` // contains filtered or unexported fields }
func (ListProjectIdentitiesOutput) GoString ¶
func (s ListProjectIdentitiesOutput) GoString() string
GoString returns the string representation
func (*ListProjectIdentitiesOutput) SetLimit ¶
func (s *ListProjectIdentitiesOutput) SetLimit(v int32) *ListProjectIdentitiesOutput
SetLimit sets the Limit field's value.
func (*ListProjectIdentitiesOutput) SetOffset ¶
func (s *ListProjectIdentitiesOutput) SetOffset(v int32) *ListProjectIdentitiesOutput
SetOffset sets the Offset field's value.
func (*ListProjectIdentitiesOutput) SetProjectRoles ¶
func (s *ListProjectIdentitiesOutput) SetProjectRoles(v []*ProjectRoleForListProjectIdentitiesOutput) *ListProjectIdentitiesOutput
SetProjectRoles sets the ProjectRoles field's value.
func (*ListProjectIdentitiesOutput) SetProjectUserGroups ¶
func (s *ListProjectIdentitiesOutput) SetProjectUserGroups(v []*ProjectUserGroupForListProjectIdentitiesOutput) *ListProjectIdentitiesOutput
SetProjectUserGroups sets the ProjectUserGroups field's value.
func (*ListProjectIdentitiesOutput) SetProjectUsers ¶
func (s *ListProjectIdentitiesOutput) SetProjectUsers(v []*ProjectUserForListProjectIdentitiesOutput) *ListProjectIdentitiesOutput
SetProjectUsers sets the ProjectUsers field's value.
func (*ListProjectIdentitiesOutput) SetTotal ¶
func (s *ListProjectIdentitiesOutput) SetTotal(v int32) *ListProjectIdentitiesOutput
SetTotal sets the Total field's value.
func (ListProjectIdentitiesOutput) String ¶
func (s ListProjectIdentitiesOutput) String() string
String returns the string representation
type ListProjectResourcesInput ¶
type ListProjectResourcesInput struct { Limit *int32 `type:"int32"` Offset *int32 `type:"int32"` OrderBy *string `type:"string" enum:"EnumOfOrderByForListProjectResourcesInput"` // ProjectName is a required field ProjectName *string `type:"string" required:"true"` Query *string `type:"string"` ResourceRegion *string `type:"string"` ResourceType *string `type:"string"` ServiceName *string `type:"string"` Sort *int32 `type:"int32"` WithSubProjectResource *int32 `type:"int32"` // contains filtered or unexported fields }
func (ListProjectResourcesInput) GoString ¶
func (s ListProjectResourcesInput) GoString() string
GoString returns the string representation
func (*ListProjectResourcesInput) SetLimit ¶
func (s *ListProjectResourcesInput) SetLimit(v int32) *ListProjectResourcesInput
SetLimit sets the Limit field's value.
func (*ListProjectResourcesInput) SetOffset ¶
func (s *ListProjectResourcesInput) SetOffset(v int32) *ListProjectResourcesInput
SetOffset sets the Offset field's value.
func (*ListProjectResourcesInput) SetOrderBy ¶
func (s *ListProjectResourcesInput) SetOrderBy(v string) *ListProjectResourcesInput
SetOrderBy sets the OrderBy field's value.
func (*ListProjectResourcesInput) SetProjectName ¶
func (s *ListProjectResourcesInput) SetProjectName(v string) *ListProjectResourcesInput
SetProjectName sets the ProjectName field's value.
func (*ListProjectResourcesInput) SetQuery ¶
func (s *ListProjectResourcesInput) SetQuery(v string) *ListProjectResourcesInput
SetQuery sets the Query field's value.
func (*ListProjectResourcesInput) SetResourceRegion ¶
func (s *ListProjectResourcesInput) SetResourceRegion(v string) *ListProjectResourcesInput
SetResourceRegion sets the ResourceRegion field's value.
func (*ListProjectResourcesInput) SetResourceType ¶
func (s *ListProjectResourcesInput) SetResourceType(v string) *ListProjectResourcesInput
SetResourceType sets the ResourceType field's value.
func (*ListProjectResourcesInput) SetServiceName ¶
func (s *ListProjectResourcesInput) SetServiceName(v string) *ListProjectResourcesInput
SetServiceName sets the ServiceName field's value.
func (*ListProjectResourcesInput) SetSort ¶
func (s *ListProjectResourcesInput) SetSort(v int32) *ListProjectResourcesInput
SetSort sets the Sort field's value.
func (*ListProjectResourcesInput) SetWithSubProjectResource ¶
func (s *ListProjectResourcesInput) SetWithSubProjectResource(v int32) *ListProjectResourcesInput
SetWithSubProjectResource sets the WithSubProjectResource field's value.
func (ListProjectResourcesInput) String ¶
func (s ListProjectResourcesInput) String() string
String returns the string representation
func (*ListProjectResourcesInput) Validate ¶
func (s *ListProjectResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProjectResourcesOutput ¶
type ListProjectResourcesOutput struct { Metadata *response.ResponseMetadata Limit *int32 `type:"int32"` Offset *int32 `type:"int32"` ProjectResources []*ProjectResourceForListProjectResourcesOutput `type:"list"` Total *int32 `type:"int32"` // contains filtered or unexported fields }
func (ListProjectResourcesOutput) GoString ¶
func (s ListProjectResourcesOutput) GoString() string
GoString returns the string representation
func (*ListProjectResourcesOutput) SetLimit ¶
func (s *ListProjectResourcesOutput) SetLimit(v int32) *ListProjectResourcesOutput
SetLimit sets the Limit field's value.
func (*ListProjectResourcesOutput) SetOffset ¶
func (s *ListProjectResourcesOutput) SetOffset(v int32) *ListProjectResourcesOutput
SetOffset sets the Offset field's value.
func (*ListProjectResourcesOutput) SetProjectResources ¶
func (s *ListProjectResourcesOutput) SetProjectResources(v []*ProjectResourceForListProjectResourcesOutput) *ListProjectResourcesOutput
SetProjectResources sets the ProjectResources field's value.
func (*ListProjectResourcesOutput) SetTotal ¶
func (s *ListProjectResourcesOutput) SetTotal(v int32) *ListProjectResourcesOutput
SetTotal sets the Total field's value.
func (ListProjectResourcesOutput) String ¶
func (s ListProjectResourcesOutput) String() string
String returns the string representation
type ListProjectsInput ¶
type ListProjectsInput struct { Limit *int32 `type:"int32"` Offset *int32 `type:"int32"` Query *string `type:"string"` WithParentProject *int32 `type:"int32"` // contains filtered or unexported fields }
func (ListProjectsInput) GoString ¶
func (s ListProjectsInput) GoString() string
GoString returns the string representation
func (*ListProjectsInput) SetLimit ¶
func (s *ListProjectsInput) SetLimit(v int32) *ListProjectsInput
SetLimit sets the Limit field's value.
func (*ListProjectsInput) SetOffset ¶
func (s *ListProjectsInput) SetOffset(v int32) *ListProjectsInput
SetOffset sets the Offset field's value.
func (*ListProjectsInput) SetQuery ¶
func (s *ListProjectsInput) SetQuery(v string) *ListProjectsInput
SetQuery sets the Query field's value.
func (*ListProjectsInput) SetWithParentProject ¶
func (s *ListProjectsInput) SetWithParentProject(v int32) *ListProjectsInput
SetWithParentProject sets the WithParentProject field's value.
func (ListProjectsInput) String ¶
func (s ListProjectsInput) String() string
String returns the string representation
type ListProjectsOutput ¶
type ListProjectsOutput struct { Metadata *response.ResponseMetadata Limit *int32 `type:"int32"` Offset *int32 `type:"int32"` Projects []*ProjectForListProjectsOutput `type:"list"` Total *int32 `type:"int32"` // contains filtered or unexported fields }
func (ListProjectsOutput) GoString ¶
func (s ListProjectsOutput) GoString() string
GoString returns the string representation
func (*ListProjectsOutput) SetLimit ¶
func (s *ListProjectsOutput) SetLimit(v int32) *ListProjectsOutput
SetLimit sets the Limit field's value.
func (*ListProjectsOutput) SetOffset ¶
func (s *ListProjectsOutput) SetOffset(v int32) *ListProjectsOutput
SetOffset sets the Offset field's value.
func (*ListProjectsOutput) SetProjects ¶
func (s *ListProjectsOutput) SetProjects(v []*ProjectForListProjectsOutput) *ListProjectsOutput
SetProjects sets the Projects field's value.
func (*ListProjectsOutput) SetTotal ¶
func (s *ListProjectsOutput) SetTotal(v int32) *ListProjectsOutput
SetTotal sets the Total field's value.
func (ListProjectsOutput) String ¶
func (s ListProjectsOutput) String() string
String returns the string representation
type MoveProjectResourceInput ¶
type MoveProjectResourceInput struct { // ResourceTrn is a required field ResourceTrn []*string `type:"list" required:"true"` // TargetProjectName is a required field TargetProjectName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (MoveProjectResourceInput) GoString ¶
func (s MoveProjectResourceInput) GoString() string
GoString returns the string representation
func (*MoveProjectResourceInput) SetResourceTrn ¶
func (s *MoveProjectResourceInput) SetResourceTrn(v []*string) *MoveProjectResourceInput
SetResourceTrn sets the ResourceTrn field's value.
func (*MoveProjectResourceInput) SetTargetProjectName ¶
func (s *MoveProjectResourceInput) SetTargetProjectName(v string) *MoveProjectResourceInput
SetTargetProjectName sets the TargetProjectName field's value.
func (MoveProjectResourceInput) String ¶
func (s MoveProjectResourceInput) String() string
String returns the string representation
func (*MoveProjectResourceInput) Validate ¶
func (s *MoveProjectResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MoveProjectResourceOutput ¶
type MoveProjectResourceOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (MoveProjectResourceOutput) GoString ¶
func (s MoveProjectResourceOutput) GoString() string
GoString returns the string representation
func (MoveProjectResourceOutput) String ¶
func (s MoveProjectResourceOutput) String() string
String returns the string representation
type PolicyForListProjectIdentitiesOutput ¶
type PolicyForListProjectIdentitiesOutput struct { AttachDate *string `type:"string"` Description *string `type:"string"` IsServiceRolePolicy *int32 `type:"int32"` PolicyName *string `type:"string"` PolicyTrn *string `type:"string"` PolicyType *string `type:"string"` // contains filtered or unexported fields }
func (PolicyForListProjectIdentitiesOutput) GoString ¶
func (s PolicyForListProjectIdentitiesOutput) GoString() string
GoString returns the string representation
func (*PolicyForListProjectIdentitiesOutput) SetAttachDate ¶
func (s *PolicyForListProjectIdentitiesOutput) SetAttachDate(v string) *PolicyForListProjectIdentitiesOutput
SetAttachDate sets the AttachDate field's value.
func (*PolicyForListProjectIdentitiesOutput) SetDescription ¶
func (s *PolicyForListProjectIdentitiesOutput) SetDescription(v string) *PolicyForListProjectIdentitiesOutput
SetDescription sets the Description field's value.
func (*PolicyForListProjectIdentitiesOutput) SetIsServiceRolePolicy ¶
func (s *PolicyForListProjectIdentitiesOutput) SetIsServiceRolePolicy(v int32) *PolicyForListProjectIdentitiesOutput
SetIsServiceRolePolicy sets the IsServiceRolePolicy field's value.
func (*PolicyForListProjectIdentitiesOutput) SetPolicyName ¶
func (s *PolicyForListProjectIdentitiesOutput) SetPolicyName(v string) *PolicyForListProjectIdentitiesOutput
SetPolicyName sets the PolicyName field's value.
func (*PolicyForListProjectIdentitiesOutput) SetPolicyTrn ¶
func (s *PolicyForListProjectIdentitiesOutput) SetPolicyTrn(v string) *PolicyForListProjectIdentitiesOutput
SetPolicyTrn sets the PolicyTrn field's value.
func (*PolicyForListProjectIdentitiesOutput) SetPolicyType ¶
func (s *PolicyForListProjectIdentitiesOutput) SetPolicyType(v string) *PolicyForListProjectIdentitiesOutput
SetPolicyType sets the PolicyType field's value.
func (PolicyForListProjectIdentitiesOutput) String ¶
func (s PolicyForListProjectIdentitiesOutput) String() string
String returns the string representation
type ProjectForListProjectsOutput ¶
type ProjectForListProjectsOutput struct { AccountID *int64 `type:"int64"` CreateDate *string `type:"string"` Description *string `type:"string"` DisplayName *string `type:"string"` HasPermission *bool `type:"boolean"` ParentProjectName *string `type:"string"` Path *string `type:"string"` ProjectName *string `type:"string"` Status *string `type:"string"` UpdateDate *string `type:"string"` // contains filtered or unexported fields }
func (ProjectForListProjectsOutput) GoString ¶
func (s ProjectForListProjectsOutput) GoString() string
GoString returns the string representation
func (*ProjectForListProjectsOutput) SetAccountID ¶
func (s *ProjectForListProjectsOutput) SetAccountID(v int64) *ProjectForListProjectsOutput
SetAccountID sets the AccountID field's value.
func (*ProjectForListProjectsOutput) SetCreateDate ¶
func (s *ProjectForListProjectsOutput) SetCreateDate(v string) *ProjectForListProjectsOutput
SetCreateDate sets the CreateDate field's value.
func (*ProjectForListProjectsOutput) SetDescription ¶
func (s *ProjectForListProjectsOutput) SetDescription(v string) *ProjectForListProjectsOutput
SetDescription sets the Description field's value.
func (*ProjectForListProjectsOutput) SetDisplayName ¶
func (s *ProjectForListProjectsOutput) SetDisplayName(v string) *ProjectForListProjectsOutput
SetDisplayName sets the DisplayName field's value.
func (*ProjectForListProjectsOutput) SetHasPermission ¶
func (s *ProjectForListProjectsOutput) SetHasPermission(v bool) *ProjectForListProjectsOutput
SetHasPermission sets the HasPermission field's value.
func (*ProjectForListProjectsOutput) SetParentProjectName ¶
func (s *ProjectForListProjectsOutput) SetParentProjectName(v string) *ProjectForListProjectsOutput
SetParentProjectName sets the ParentProjectName field's value.
func (*ProjectForListProjectsOutput) SetPath ¶
func (s *ProjectForListProjectsOutput) SetPath(v string) *ProjectForListProjectsOutput
SetPath sets the Path field's value.
func (*ProjectForListProjectsOutput) SetProjectName ¶
func (s *ProjectForListProjectsOutput) SetProjectName(v string) *ProjectForListProjectsOutput
SetProjectName sets the ProjectName field's value.
func (*ProjectForListProjectsOutput) SetStatus ¶
func (s *ProjectForListProjectsOutput) SetStatus(v string) *ProjectForListProjectsOutput
SetStatus sets the Status field's value.
func (*ProjectForListProjectsOutput) SetUpdateDate ¶
func (s *ProjectForListProjectsOutput) SetUpdateDate(v string) *ProjectForListProjectsOutput
SetUpdateDate sets the UpdateDate field's value.
func (ProjectForListProjectsOutput) String ¶
func (s ProjectForListProjectsOutput) String() string
String returns the string representation
type ProjectResourceForListProjectResourcesOutput ¶
type ProjectResourceForListProjectResourcesOutput struct { AccountID *int64 `type:"int64"` CreateDate *string `type:"string"` ProjectName *string `type:"string"` ResourceID *string `type:"string"` ResourceRegion *string `type:"string"` ResourceTrn *string `type:"string"` ResourceType *string `type:"string"` ServiceName *string `type:"string"` UpdateDate *string `type:"string"` // contains filtered or unexported fields }
func (ProjectResourceForListProjectResourcesOutput) GoString ¶
func (s ProjectResourceForListProjectResourcesOutput) GoString() string
GoString returns the string representation
func (*ProjectResourceForListProjectResourcesOutput) SetAccountID ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetAccountID(v int64) *ProjectResourceForListProjectResourcesOutput
SetAccountID sets the AccountID field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetCreateDate ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetCreateDate(v string) *ProjectResourceForListProjectResourcesOutput
SetCreateDate sets the CreateDate field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetProjectName ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetProjectName(v string) *ProjectResourceForListProjectResourcesOutput
SetProjectName sets the ProjectName field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetResourceID ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetResourceID(v string) *ProjectResourceForListProjectResourcesOutput
SetResourceID sets the ResourceID field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetResourceRegion ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetResourceRegion(v string) *ProjectResourceForListProjectResourcesOutput
SetResourceRegion sets the ResourceRegion field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetResourceTrn ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetResourceTrn(v string) *ProjectResourceForListProjectResourcesOutput
SetResourceTrn sets the ResourceTrn field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetResourceType ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetResourceType(v string) *ProjectResourceForListProjectResourcesOutput
SetResourceType sets the ResourceType field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetServiceName ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetServiceName(v string) *ProjectResourceForListProjectResourcesOutput
SetServiceName sets the ServiceName field's value.
func (*ProjectResourceForListProjectResourcesOutput) SetUpdateDate ¶
func (s *ProjectResourceForListProjectResourcesOutput) SetUpdateDate(v string) *ProjectResourceForListProjectResourcesOutput
SetUpdateDate sets the UpdateDate field's value.
func (ProjectResourceForListProjectResourcesOutput) String ¶
func (s ProjectResourceForListProjectResourcesOutput) String() string
String returns the string representation
type ProjectRoleForListProjectIdentitiesOutput ¶
type ProjectRoleForListProjectIdentitiesOutput struct { Description *string `type:"string"` DisplayName *string `type:"string"` Policy []*PolicyForListProjectIdentitiesOutput `type:"list"` RoleName *string `type:"string"` UpdateDate *string `type:"string"` // contains filtered or unexported fields }
func (ProjectRoleForListProjectIdentitiesOutput) GoString ¶
func (s ProjectRoleForListProjectIdentitiesOutput) GoString() string
GoString returns the string representation
func (*ProjectRoleForListProjectIdentitiesOutput) SetDescription ¶
func (s *ProjectRoleForListProjectIdentitiesOutput) SetDescription(v string) *ProjectRoleForListProjectIdentitiesOutput
SetDescription sets the Description field's value.
func (*ProjectRoleForListProjectIdentitiesOutput) SetDisplayName ¶
func (s *ProjectRoleForListProjectIdentitiesOutput) SetDisplayName(v string) *ProjectRoleForListProjectIdentitiesOutput
SetDisplayName sets the DisplayName field's value.
func (*ProjectRoleForListProjectIdentitiesOutput) SetPolicy ¶
func (s *ProjectRoleForListProjectIdentitiesOutput) SetPolicy(v []*PolicyForListProjectIdentitiesOutput) *ProjectRoleForListProjectIdentitiesOutput
SetPolicy sets the Policy field's value.
func (*ProjectRoleForListProjectIdentitiesOutput) SetRoleName ¶
func (s *ProjectRoleForListProjectIdentitiesOutput) SetRoleName(v string) *ProjectRoleForListProjectIdentitiesOutput
SetRoleName sets the RoleName field's value.
func (*ProjectRoleForListProjectIdentitiesOutput) SetUpdateDate ¶
func (s *ProjectRoleForListProjectIdentitiesOutput) SetUpdateDate(v string) *ProjectRoleForListProjectIdentitiesOutput
SetUpdateDate sets the UpdateDate field's value.
func (ProjectRoleForListProjectIdentitiesOutput) String ¶
func (s ProjectRoleForListProjectIdentitiesOutput) String() string
String returns the string representation
type ProjectUserForListProjectIdentitiesOutput ¶
type ProjectUserForListProjectIdentitiesOutput struct { Description *string `type:"string"` DisplayName *string `type:"string"` Policy []*PolicyForListProjectIdentitiesOutput `type:"list"` UpdateDate *string `type:"string"` UserName *string `type:"string"` // contains filtered or unexported fields }
func (ProjectUserForListProjectIdentitiesOutput) GoString ¶
func (s ProjectUserForListProjectIdentitiesOutput) GoString() string
GoString returns the string representation
func (*ProjectUserForListProjectIdentitiesOutput) SetDescription ¶
func (s *ProjectUserForListProjectIdentitiesOutput) SetDescription(v string) *ProjectUserForListProjectIdentitiesOutput
SetDescription sets the Description field's value.
func (*ProjectUserForListProjectIdentitiesOutput) SetDisplayName ¶
func (s *ProjectUserForListProjectIdentitiesOutput) SetDisplayName(v string) *ProjectUserForListProjectIdentitiesOutput
SetDisplayName sets the DisplayName field's value.
func (*ProjectUserForListProjectIdentitiesOutput) SetPolicy ¶
func (s *ProjectUserForListProjectIdentitiesOutput) SetPolicy(v []*PolicyForListProjectIdentitiesOutput) *ProjectUserForListProjectIdentitiesOutput
SetPolicy sets the Policy field's value.
func (*ProjectUserForListProjectIdentitiesOutput) SetUpdateDate ¶
func (s *ProjectUserForListProjectIdentitiesOutput) SetUpdateDate(v string) *ProjectUserForListProjectIdentitiesOutput
SetUpdateDate sets the UpdateDate field's value.
func (*ProjectUserForListProjectIdentitiesOutput) SetUserName ¶
func (s *ProjectUserForListProjectIdentitiesOutput) SetUserName(v string) *ProjectUserForListProjectIdentitiesOutput
SetUserName sets the UserName field's value.
func (ProjectUserForListProjectIdentitiesOutput) String ¶
func (s ProjectUserForListProjectIdentitiesOutput) String() string
String returns the string representation
type ProjectUserGroupForListProjectIdentitiesOutput ¶
type ProjectUserGroupForListProjectIdentitiesOutput struct { Description *string `type:"string"` DisplayName *string `type:"string"` Policy []*PolicyForListProjectIdentitiesOutput `type:"list"` UpdateDate *string `type:"string"` UserGroupName *string `type:"string"` // contains filtered or unexported fields }
func (ProjectUserGroupForListProjectIdentitiesOutput) GoString ¶
func (s ProjectUserGroupForListProjectIdentitiesOutput) GoString() string
GoString returns the string representation
func (*ProjectUserGroupForListProjectIdentitiesOutput) SetDescription ¶
func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetDescription(v string) *ProjectUserGroupForListProjectIdentitiesOutput
SetDescription sets the Description field's value.
func (*ProjectUserGroupForListProjectIdentitiesOutput) SetDisplayName ¶
func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetDisplayName(v string) *ProjectUserGroupForListProjectIdentitiesOutput
SetDisplayName sets the DisplayName field's value.
func (*ProjectUserGroupForListProjectIdentitiesOutput) SetPolicy ¶
func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetPolicy(v []*PolicyForListProjectIdentitiesOutput) *ProjectUserGroupForListProjectIdentitiesOutput
SetPolicy sets the Policy field's value.
func (*ProjectUserGroupForListProjectIdentitiesOutput) SetUpdateDate ¶
func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetUpdateDate(v string) *ProjectUserGroupForListProjectIdentitiesOutput
SetUpdateDate sets the UpdateDate field's value.
func (*ProjectUserGroupForListProjectIdentitiesOutput) SetUserGroupName ¶
func (s *ProjectUserGroupForListProjectIdentitiesOutput) SetUserGroupName(v string) *ProjectUserGroupForListProjectIdentitiesOutput
SetUserGroupName sets the UserGroupName field's value.
func (ProjectUserGroupForListProjectIdentitiesOutput) String ¶
func (s ProjectUserGroupForListProjectIdentitiesOutput) String() string
String returns the string representation
type UpdateProjectInput ¶
type UpdateProjectInput struct { Description *string `type:"string"` DisplayName *string `type:"string"` // ProjectName is a required field ProjectName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateProjectInput) GoString ¶
func (s UpdateProjectInput) GoString() string
GoString returns the string representation
func (*UpdateProjectInput) SetDescription ¶
func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput
SetDescription sets the Description field's value.
func (*UpdateProjectInput) SetDisplayName ¶
func (s *UpdateProjectInput) SetDisplayName(v string) *UpdateProjectInput
SetDisplayName sets the DisplayName field's value.
func (*UpdateProjectInput) SetProjectName ¶
func (s *UpdateProjectInput) SetProjectName(v string) *UpdateProjectInput
SetProjectName sets the ProjectName field's value.
func (UpdateProjectInput) String ¶
func (s UpdateProjectInput) String() string
String returns the string representation
func (*UpdateProjectInput) Validate ¶
func (s *UpdateProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateProjectOutput ¶
type UpdateProjectOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (UpdateProjectOutput) GoString ¶
func (s UpdateProjectOutput) GoString() string
GoString returns the string representation
func (UpdateProjectOutput) String ¶
func (s UpdateProjectOutput) String() string
String returns the string representation
Source Files ¶
- api_attach_policy_in_project.go
- api_create_project.go
- api_delete_project.go
- api_detach_policy_in_project.go
- api_get_project.go
- api_list_project_identities.go
- api_list_project_resources.go
- api_list_projects.go
- api_move_project_resource.go
- api_update_project.go
- interface_iam20210801.go
- service_iam20210801.go