Documentation ¶
Index ¶
- func GenReqDefForAcceptHandshake() *def.HttpRequestDef
- func GenReqDefForAttachPolicy() *def.HttpRequestDef
- func GenReqDefForCancelHandshake() *def.HttpRequestDef
- func GenReqDefForCloseAccount() *def.HttpRequestDef
- func GenReqDefForCreateAccount() *def.HttpRequestDef
- func GenReqDefForCreateOrganization() *def.HttpRequestDef
- func GenReqDefForCreateOrganizationalUnit() *def.HttpRequestDef
- func GenReqDefForCreatePolicy() *def.HttpRequestDef
- func GenReqDefForCreateTagResource() *def.HttpRequestDef
- func GenReqDefForDeclineHandshake() *def.HttpRequestDef
- func GenReqDefForDeleteOrganization() *def.HttpRequestDef
- func GenReqDefForDeleteOrganizationalUnit() *def.HttpRequestDef
- func GenReqDefForDeletePolicy() *def.HttpRequestDef
- func GenReqDefForDeleteTagResource() *def.HttpRequestDef
- func GenReqDefForDeregisterDelegatedAdministrator() *def.HttpRequestDef
- func GenReqDefForDetachPolicy() *def.HttpRequestDef
- func GenReqDefForDisablePolicyType() *def.HttpRequestDef
- func GenReqDefForDisableTrustedService() *def.HttpRequestDef
- func GenReqDefForEnablePolicyType() *def.HttpRequestDef
- func GenReqDefForEnableTrustedService() *def.HttpRequestDef
- func GenReqDefForInviteAccount() *def.HttpRequestDef
- func GenReqDefForLeaveOrganization() *def.HttpRequestDef
- func GenReqDefForListAccounts() *def.HttpRequestDef
- func GenReqDefForListCloseAccountStatuses() *def.HttpRequestDef
- func GenReqDefForListCreateAccountStatuses() *def.HttpRequestDef
- func GenReqDefForListDelegatedAdministrators() *def.HttpRequestDef
- func GenReqDefForListDelegatedServices() *def.HttpRequestDef
- func GenReqDefForListEntities() *def.HttpRequestDef
- func GenReqDefForListEntitiesForPolicy() *def.HttpRequestDef
- func GenReqDefForListHandshakes() *def.HttpRequestDef
- func GenReqDefForListOrganizationalUnits() *def.HttpRequestDef
- func GenReqDefForListPolicies() *def.HttpRequestDef
- func GenReqDefForListQuotas() *def.HttpRequestDef
- func GenReqDefForListReceivedHandshakes() *def.HttpRequestDef
- func GenReqDefForListResourceInstances() *def.HttpRequestDef
- func GenReqDefForListResourceTags() *def.HttpRequestDef
- func GenReqDefForListRoots() *def.HttpRequestDef
- func GenReqDefForListServices() *def.HttpRequestDef
- func GenReqDefForListTagPolicyServices() *def.HttpRequestDef
- func GenReqDefForListTagResources() *def.HttpRequestDef
- func GenReqDefForListTagsForResource() *def.HttpRequestDef
- func GenReqDefForListTrustedServices() *def.HttpRequestDef
- func GenReqDefForMoveAccount() *def.HttpRequestDef
- func GenReqDefForRegisterDelegatedAdministrator() *def.HttpRequestDef
- func GenReqDefForRemoveAccount() *def.HttpRequestDef
- func GenReqDefForShowAccount() *def.HttpRequestDef
- func GenReqDefForShowCreateAccountStatus() *def.HttpRequestDef
- func GenReqDefForShowEffectivePolicies() *def.HttpRequestDef
- func GenReqDefForShowHandshake() *def.HttpRequestDef
- func GenReqDefForShowOrganization() *def.HttpRequestDef
- func GenReqDefForShowOrganizationalUnit() *def.HttpRequestDef
- func GenReqDefForShowPolicy() *def.HttpRequestDef
- func GenReqDefForShowResourceInstancesCount() *def.HttpRequestDef
- func GenReqDefForTagResource() *def.HttpRequestDef
- func GenReqDefForUntagResource() *def.HttpRequestDef
- func GenReqDefForUpdateOrganizationalUnit() *def.HttpRequestDef
- func GenReqDefForUpdatePolicy() *def.HttpRequestDef
- func OrganizationsClientBuilder() *httpclient.HcHttpClientBuilder
- type AcceptHandshakeInvoker
- type AttachPolicyInvoker
- type CancelHandshakeInvoker
- type CloseAccountInvoker
- type CreateAccountInvoker
- type CreateOrganizationInvoker
- type CreateOrganizationalUnitInvoker
- type CreatePolicyInvoker
- type CreateTagResourceInvoker
- type DeclineHandshakeInvoker
- type DeleteOrganizationInvoker
- type DeleteOrganizationalUnitInvoker
- type DeletePolicyInvoker
- type DeleteTagResourceInvoker
- type DeregisterDelegatedAdministratorInvoker
- type DetachPolicyInvoker
- type DisablePolicyTypeInvoker
- type DisableTrustedServiceInvoker
- type EnablePolicyTypeInvoker
- type EnableTrustedServiceInvoker
- type InviteAccountInvoker
- type LeaveOrganizationInvoker
- type ListAccountsInvoker
- type ListCloseAccountStatusesInvoker
- type ListCreateAccountStatusesInvoker
- type ListDelegatedAdministratorsInvoker
- type ListDelegatedServicesInvoker
- type ListEntitiesForPolicyInvoker
- type ListEntitiesInvoker
- type ListHandshakesInvoker
- type ListOrganizationalUnitsInvoker
- type ListPoliciesInvoker
- type ListQuotasInvoker
- type ListReceivedHandshakesInvoker
- type ListResourceInstancesInvoker
- type ListResourceTagsInvoker
- type ListRootsInvoker
- type ListServicesInvoker
- type ListTagPolicyServicesInvoker
- type ListTagResourcesInvoker
- type ListTagsForResourceInvoker
- type ListTrustedServicesInvoker
- type MoveAccountInvoker
- type OrganizationsClient
- func (c *OrganizationsClient) AcceptHandshake(request *model.AcceptHandshakeRequest) (*model.AcceptHandshakeResponse, error)
- func (c *OrganizationsClient) AcceptHandshakeInvoker(request *model.AcceptHandshakeRequest) *AcceptHandshakeInvoker
- func (c *OrganizationsClient) AttachPolicy(request *model.AttachPolicyRequest) (*model.AttachPolicyResponse, error)
- func (c *OrganizationsClient) AttachPolicyInvoker(request *model.AttachPolicyRequest) *AttachPolicyInvoker
- func (c *OrganizationsClient) CancelHandshake(request *model.CancelHandshakeRequest) (*model.CancelHandshakeResponse, error)
- func (c *OrganizationsClient) CancelHandshakeInvoker(request *model.CancelHandshakeRequest) *CancelHandshakeInvoker
- func (c *OrganizationsClient) CloseAccount(request *model.CloseAccountRequest) (*model.CloseAccountResponse, error)
- func (c *OrganizationsClient) CloseAccountInvoker(request *model.CloseAccountRequest) *CloseAccountInvoker
- func (c *OrganizationsClient) CreateAccount(request *model.CreateAccountRequest) (*model.CreateAccountResponse, error)
- func (c *OrganizationsClient) CreateAccountInvoker(request *model.CreateAccountRequest) *CreateAccountInvoker
- func (c *OrganizationsClient) CreateOrganization(request *model.CreateOrganizationRequest) (*model.CreateOrganizationResponse, error)
- func (c *OrganizationsClient) CreateOrganizationInvoker(request *model.CreateOrganizationRequest) *CreateOrganizationInvoker
- func (c *OrganizationsClient) CreateOrganizationalUnit(request *model.CreateOrganizationalUnitRequest) (*model.CreateOrganizationalUnitResponse, error)
- func (c *OrganizationsClient) CreateOrganizationalUnitInvoker(request *model.CreateOrganizationalUnitRequest) *CreateOrganizationalUnitInvoker
- func (c *OrganizationsClient) CreatePolicy(request *model.CreatePolicyRequest) (*model.CreatePolicyResponse, error)
- func (c *OrganizationsClient) CreatePolicyInvoker(request *model.CreatePolicyRequest) *CreatePolicyInvoker
- func (c *OrganizationsClient) CreateTagResource(request *model.CreateTagResourceRequest) (*model.CreateTagResourceResponse, error)
- func (c *OrganizationsClient) CreateTagResourceInvoker(request *model.CreateTagResourceRequest) *CreateTagResourceInvoker
- func (c *OrganizationsClient) DeclineHandshake(request *model.DeclineHandshakeRequest) (*model.DeclineHandshakeResponse, error)
- func (c *OrganizationsClient) DeclineHandshakeInvoker(request *model.DeclineHandshakeRequest) *DeclineHandshakeInvoker
- func (c *OrganizationsClient) DeleteOrganization(request *model.DeleteOrganizationRequest) (*model.DeleteOrganizationResponse, error)
- func (c *OrganizationsClient) DeleteOrganizationInvoker(request *model.DeleteOrganizationRequest) *DeleteOrganizationInvoker
- func (c *OrganizationsClient) DeleteOrganizationalUnit(request *model.DeleteOrganizationalUnitRequest) (*model.DeleteOrganizationalUnitResponse, error)
- func (c *OrganizationsClient) DeleteOrganizationalUnitInvoker(request *model.DeleteOrganizationalUnitRequest) *DeleteOrganizationalUnitInvoker
- func (c *OrganizationsClient) DeletePolicy(request *model.DeletePolicyRequest) (*model.DeletePolicyResponse, error)
- func (c *OrganizationsClient) DeletePolicyInvoker(request *model.DeletePolicyRequest) *DeletePolicyInvoker
- func (c *OrganizationsClient) DeleteTagResource(request *model.DeleteTagResourceRequest) (*model.DeleteTagResourceResponse, error)
- func (c *OrganizationsClient) DeleteTagResourceInvoker(request *model.DeleteTagResourceRequest) *DeleteTagResourceInvoker
- func (c *OrganizationsClient) DeregisterDelegatedAdministrator(request *model.DeregisterDelegatedAdministratorRequest) (*model.DeregisterDelegatedAdministratorResponse, error)
- func (c *OrganizationsClient) DeregisterDelegatedAdministratorInvoker(request *model.DeregisterDelegatedAdministratorRequest) *DeregisterDelegatedAdministratorInvoker
- func (c *OrganizationsClient) DetachPolicy(request *model.DetachPolicyRequest) (*model.DetachPolicyResponse, error)
- func (c *OrganizationsClient) DetachPolicyInvoker(request *model.DetachPolicyRequest) *DetachPolicyInvoker
- func (c *OrganizationsClient) DisablePolicyType(request *model.DisablePolicyTypeRequest) (*model.DisablePolicyTypeResponse, error)
- func (c *OrganizationsClient) DisablePolicyTypeInvoker(request *model.DisablePolicyTypeRequest) *DisablePolicyTypeInvoker
- func (c *OrganizationsClient) DisableTrustedService(request *model.DisableTrustedServiceRequest) (*model.DisableTrustedServiceResponse, error)
- func (c *OrganizationsClient) DisableTrustedServiceInvoker(request *model.DisableTrustedServiceRequest) *DisableTrustedServiceInvoker
- func (c *OrganizationsClient) EnablePolicyType(request *model.EnablePolicyTypeRequest) (*model.EnablePolicyTypeResponse, error)
- func (c *OrganizationsClient) EnablePolicyTypeInvoker(request *model.EnablePolicyTypeRequest) *EnablePolicyTypeInvoker
- func (c *OrganizationsClient) EnableTrustedService(request *model.EnableTrustedServiceRequest) (*model.EnableTrustedServiceResponse, error)
- func (c *OrganizationsClient) EnableTrustedServiceInvoker(request *model.EnableTrustedServiceRequest) *EnableTrustedServiceInvoker
- func (c *OrganizationsClient) InviteAccount(request *model.InviteAccountRequest) (*model.InviteAccountResponse, error)
- func (c *OrganizationsClient) InviteAccountInvoker(request *model.InviteAccountRequest) *InviteAccountInvoker
- func (c *OrganizationsClient) LeaveOrganization(request *model.LeaveOrganizationRequest) (*model.LeaveOrganizationResponse, error)
- func (c *OrganizationsClient) LeaveOrganizationInvoker(request *model.LeaveOrganizationRequest) *LeaveOrganizationInvoker
- func (c *OrganizationsClient) ListAccounts(request *model.ListAccountsRequest) (*model.ListAccountsResponse, error)
- func (c *OrganizationsClient) ListAccountsInvoker(request *model.ListAccountsRequest) *ListAccountsInvoker
- func (c *OrganizationsClient) ListCloseAccountStatuses(request *model.ListCloseAccountStatusesRequest) (*model.ListCloseAccountStatusesResponse, error)
- func (c *OrganizationsClient) ListCloseAccountStatusesInvoker(request *model.ListCloseAccountStatusesRequest) *ListCloseAccountStatusesInvoker
- func (c *OrganizationsClient) ListCreateAccountStatuses(request *model.ListCreateAccountStatusesRequest) (*model.ListCreateAccountStatusesResponse, error)
- func (c *OrganizationsClient) ListCreateAccountStatusesInvoker(request *model.ListCreateAccountStatusesRequest) *ListCreateAccountStatusesInvoker
- func (c *OrganizationsClient) ListDelegatedAdministrators(request *model.ListDelegatedAdministratorsRequest) (*model.ListDelegatedAdministratorsResponse, error)
- func (c *OrganizationsClient) ListDelegatedAdministratorsInvoker(request *model.ListDelegatedAdministratorsRequest) *ListDelegatedAdministratorsInvoker
- func (c *OrganizationsClient) ListDelegatedServices(request *model.ListDelegatedServicesRequest) (*model.ListDelegatedServicesResponse, error)
- func (c *OrganizationsClient) ListDelegatedServicesInvoker(request *model.ListDelegatedServicesRequest) *ListDelegatedServicesInvoker
- func (c *OrganizationsClient) ListEntities(request *model.ListEntitiesRequest) (*model.ListEntitiesResponse, error)
- func (c *OrganizationsClient) ListEntitiesForPolicy(request *model.ListEntitiesForPolicyRequest) (*model.ListEntitiesForPolicyResponse, error)
- func (c *OrganizationsClient) ListEntitiesForPolicyInvoker(request *model.ListEntitiesForPolicyRequest) *ListEntitiesForPolicyInvoker
- func (c *OrganizationsClient) ListEntitiesInvoker(request *model.ListEntitiesRequest) *ListEntitiesInvoker
- func (c *OrganizationsClient) ListHandshakes(request *model.ListHandshakesRequest) (*model.ListHandshakesResponse, error)
- func (c *OrganizationsClient) ListHandshakesInvoker(request *model.ListHandshakesRequest) *ListHandshakesInvoker
- func (c *OrganizationsClient) ListOrganizationalUnits(request *model.ListOrganizationalUnitsRequest) (*model.ListOrganizationalUnitsResponse, error)
- func (c *OrganizationsClient) ListOrganizationalUnitsInvoker(request *model.ListOrganizationalUnitsRequest) *ListOrganizationalUnitsInvoker
- func (c *OrganizationsClient) ListPolicies(request *model.ListPoliciesRequest) (*model.ListPoliciesResponse, error)
- func (c *OrganizationsClient) ListPoliciesInvoker(request *model.ListPoliciesRequest) *ListPoliciesInvoker
- func (c *OrganizationsClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
- func (c *OrganizationsClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker
- func (c *OrganizationsClient) ListReceivedHandshakes(request *model.ListReceivedHandshakesRequest) (*model.ListReceivedHandshakesResponse, error)
- func (c *OrganizationsClient) ListReceivedHandshakesInvoker(request *model.ListReceivedHandshakesRequest) *ListReceivedHandshakesInvoker
- func (c *OrganizationsClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
- func (c *OrganizationsClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
- func (c *OrganizationsClient) ListResourceTags(request *model.ListResourceTagsRequest) (*model.ListResourceTagsResponse, error)
- func (c *OrganizationsClient) ListResourceTagsInvoker(request *model.ListResourceTagsRequest) *ListResourceTagsInvoker
- func (c *OrganizationsClient) ListRoots(request *model.ListRootsRequest) (*model.ListRootsResponse, error)
- func (c *OrganizationsClient) ListRootsInvoker(request *model.ListRootsRequest) *ListRootsInvoker
- func (c *OrganizationsClient) ListServices(request *model.ListServicesRequest) (*model.ListServicesResponse, error)
- func (c *OrganizationsClient) ListServicesInvoker(request *model.ListServicesRequest) *ListServicesInvoker
- func (c *OrganizationsClient) ListTagPolicyServices(request *model.ListTagPolicyServicesRequest) (*model.ListTagPolicyServicesResponse, error)
- func (c *OrganizationsClient) ListTagPolicyServicesInvoker(request *model.ListTagPolicyServicesRequest) *ListTagPolicyServicesInvoker
- func (c *OrganizationsClient) ListTagResources(request *model.ListTagResourcesRequest) (*model.ListTagResourcesResponse, error)
- func (c *OrganizationsClient) ListTagResourcesInvoker(request *model.ListTagResourcesRequest) *ListTagResourcesInvoker
- func (c *OrganizationsClient) ListTagsForResource(request *model.ListTagsForResourceRequest) (*model.ListTagsForResourceResponse, error)
- func (c *OrganizationsClient) ListTagsForResourceInvoker(request *model.ListTagsForResourceRequest) *ListTagsForResourceInvoker
- func (c *OrganizationsClient) ListTrustedServices(request *model.ListTrustedServicesRequest) (*model.ListTrustedServicesResponse, error)
- func (c *OrganizationsClient) ListTrustedServicesInvoker(request *model.ListTrustedServicesRequest) *ListTrustedServicesInvoker
- func (c *OrganizationsClient) MoveAccount(request *model.MoveAccountRequest) (*model.MoveAccountResponse, error)
- func (c *OrganizationsClient) MoveAccountInvoker(request *model.MoveAccountRequest) *MoveAccountInvoker
- func (c *OrganizationsClient) RegisterDelegatedAdministrator(request *model.RegisterDelegatedAdministratorRequest) (*model.RegisterDelegatedAdministratorResponse, error)
- func (c *OrganizationsClient) RegisterDelegatedAdministratorInvoker(request *model.RegisterDelegatedAdministratorRequest) *RegisterDelegatedAdministratorInvoker
- func (c *OrganizationsClient) RemoveAccount(request *model.RemoveAccountRequest) (*model.RemoveAccountResponse, error)
- func (c *OrganizationsClient) RemoveAccountInvoker(request *model.RemoveAccountRequest) *RemoveAccountInvoker
- func (c *OrganizationsClient) ShowAccount(request *model.ShowAccountRequest) (*model.ShowAccountResponse, error)
- func (c *OrganizationsClient) ShowAccountInvoker(request *model.ShowAccountRequest) *ShowAccountInvoker
- func (c *OrganizationsClient) ShowCreateAccountStatus(request *model.ShowCreateAccountStatusRequest) (*model.ShowCreateAccountStatusResponse, error)
- func (c *OrganizationsClient) ShowCreateAccountStatusInvoker(request *model.ShowCreateAccountStatusRequest) *ShowCreateAccountStatusInvoker
- func (c *OrganizationsClient) ShowEffectivePolicies(request *model.ShowEffectivePoliciesRequest) (*model.ShowEffectivePoliciesResponse, error)
- func (c *OrganizationsClient) ShowEffectivePoliciesInvoker(request *model.ShowEffectivePoliciesRequest) *ShowEffectivePoliciesInvoker
- func (c *OrganizationsClient) ShowHandshake(request *model.ShowHandshakeRequest) (*model.ShowHandshakeResponse, error)
- func (c *OrganizationsClient) ShowHandshakeInvoker(request *model.ShowHandshakeRequest) *ShowHandshakeInvoker
- func (c *OrganizationsClient) ShowOrganization(request *model.ShowOrganizationRequest) (*model.ShowOrganizationResponse, error)
- func (c *OrganizationsClient) ShowOrganizationInvoker(request *model.ShowOrganizationRequest) *ShowOrganizationInvoker
- func (c *OrganizationsClient) ShowOrganizationalUnit(request *model.ShowOrganizationalUnitRequest) (*model.ShowOrganizationalUnitResponse, error)
- func (c *OrganizationsClient) ShowOrganizationalUnitInvoker(request *model.ShowOrganizationalUnitRequest) *ShowOrganizationalUnitInvoker
- func (c *OrganizationsClient) ShowPolicy(request *model.ShowPolicyRequest) (*model.ShowPolicyResponse, error)
- func (c *OrganizationsClient) ShowPolicyInvoker(request *model.ShowPolicyRequest) *ShowPolicyInvoker
- func (c *OrganizationsClient) ShowResourceInstancesCount(request *model.ShowResourceInstancesCountRequest) (*model.ShowResourceInstancesCountResponse, error)
- func (c *OrganizationsClient) ShowResourceInstancesCountInvoker(request *model.ShowResourceInstancesCountRequest) *ShowResourceInstancesCountInvoker
- func (c *OrganizationsClient) TagResource(request *model.TagResourceRequest) (*model.TagResourceResponse, error)
- func (c *OrganizationsClient) TagResourceInvoker(request *model.TagResourceRequest) *TagResourceInvoker
- func (c *OrganizationsClient) UntagResource(request *model.UntagResourceRequest) (*model.UntagResourceResponse, error)
- func (c *OrganizationsClient) UntagResourceInvoker(request *model.UntagResourceRequest) *UntagResourceInvoker
- func (c *OrganizationsClient) UpdateOrganizationalUnit(request *model.UpdateOrganizationalUnitRequest) (*model.UpdateOrganizationalUnitResponse, error)
- func (c *OrganizationsClient) UpdateOrganizationalUnitInvoker(request *model.UpdateOrganizationalUnitRequest) *UpdateOrganizationalUnitInvoker
- func (c *OrganizationsClient) UpdatePolicy(request *model.UpdatePolicyRequest) (*model.UpdatePolicyResponse, error)
- func (c *OrganizationsClient) UpdatePolicyInvoker(request *model.UpdatePolicyRequest) *UpdatePolicyInvoker
- type RegisterDelegatedAdministratorInvoker
- type RemoveAccountInvoker
- type ShowAccountInvoker
- type ShowCreateAccountStatusInvoker
- type ShowEffectivePoliciesInvoker
- type ShowHandshakeInvoker
- type ShowOrganizationInvoker
- type ShowOrganizationalUnitInvoker
- type ShowPolicyInvoker
- type ShowResourceInstancesCountInvoker
- type TagResourceInvoker
- type UntagResourceInvoker
- type UpdateOrganizationalUnitInvoker
- type UpdatePolicyInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAcceptHandshake ¶
func GenReqDefForAcceptHandshake() *def.HttpRequestDef
func GenReqDefForAttachPolicy ¶
func GenReqDefForAttachPolicy() *def.HttpRequestDef
func GenReqDefForCancelHandshake ¶
func GenReqDefForCancelHandshake() *def.HttpRequestDef
func GenReqDefForCloseAccount ¶ added in v0.1.94
func GenReqDefForCloseAccount() *def.HttpRequestDef
func GenReqDefForCreateAccount ¶
func GenReqDefForCreateAccount() *def.HttpRequestDef
func GenReqDefForCreateOrganization ¶
func GenReqDefForCreateOrganization() *def.HttpRequestDef
func GenReqDefForCreateOrganizationalUnit ¶
func GenReqDefForCreateOrganizationalUnit() *def.HttpRequestDef
func GenReqDefForCreatePolicy ¶
func GenReqDefForCreatePolicy() *def.HttpRequestDef
func GenReqDefForCreateTagResource ¶
func GenReqDefForCreateTagResource() *def.HttpRequestDef
func GenReqDefForDeclineHandshake ¶
func GenReqDefForDeclineHandshake() *def.HttpRequestDef
func GenReqDefForDeleteOrganization ¶
func GenReqDefForDeleteOrganization() *def.HttpRequestDef
func GenReqDefForDeleteOrganizationalUnit ¶
func GenReqDefForDeleteOrganizationalUnit() *def.HttpRequestDef
func GenReqDefForDeletePolicy ¶
func GenReqDefForDeletePolicy() *def.HttpRequestDef
func GenReqDefForDeleteTagResource ¶
func GenReqDefForDeleteTagResource() *def.HttpRequestDef
func GenReqDefForDeregisterDelegatedAdministrator ¶
func GenReqDefForDeregisterDelegatedAdministrator() *def.HttpRequestDef
func GenReqDefForDetachPolicy ¶
func GenReqDefForDetachPolicy() *def.HttpRequestDef
func GenReqDefForDisablePolicyType ¶
func GenReqDefForDisablePolicyType() *def.HttpRequestDef
func GenReqDefForDisableTrustedService ¶
func GenReqDefForDisableTrustedService() *def.HttpRequestDef
func GenReqDefForEnablePolicyType ¶
func GenReqDefForEnablePolicyType() *def.HttpRequestDef
func GenReqDefForEnableTrustedService ¶
func GenReqDefForEnableTrustedService() *def.HttpRequestDef
func GenReqDefForInviteAccount ¶
func GenReqDefForInviteAccount() *def.HttpRequestDef
func GenReqDefForLeaveOrganization ¶
func GenReqDefForLeaveOrganization() *def.HttpRequestDef
func GenReqDefForListAccounts ¶
func GenReqDefForListAccounts() *def.HttpRequestDef
func GenReqDefForListCloseAccountStatuses ¶ added in v0.1.86
func GenReqDefForListCloseAccountStatuses() *def.HttpRequestDef
func GenReqDefForListCreateAccountStatuses ¶
func GenReqDefForListCreateAccountStatuses() *def.HttpRequestDef
func GenReqDefForListDelegatedAdministrators ¶
func GenReqDefForListDelegatedAdministrators() *def.HttpRequestDef
func GenReqDefForListDelegatedServices ¶
func GenReqDefForListDelegatedServices() *def.HttpRequestDef
func GenReqDefForListEntities ¶
func GenReqDefForListEntities() *def.HttpRequestDef
func GenReqDefForListEntitiesForPolicy ¶
func GenReqDefForListEntitiesForPolicy() *def.HttpRequestDef
func GenReqDefForListHandshakes ¶
func GenReqDefForListHandshakes() *def.HttpRequestDef
func GenReqDefForListOrganizationalUnits ¶
func GenReqDefForListOrganizationalUnits() *def.HttpRequestDef
func GenReqDefForListPolicies ¶
func GenReqDefForListPolicies() *def.HttpRequestDef
func GenReqDefForListQuotas ¶ added in v0.1.42
func GenReqDefForListQuotas() *def.HttpRequestDef
func GenReqDefForListReceivedHandshakes ¶
func GenReqDefForListReceivedHandshakes() *def.HttpRequestDef
func GenReqDefForListResourceInstances ¶
func GenReqDefForListResourceInstances() *def.HttpRequestDef
func GenReqDefForListResourceTags ¶
func GenReqDefForListResourceTags() *def.HttpRequestDef
func GenReqDefForListRoots ¶
func GenReqDefForListRoots() *def.HttpRequestDef
func GenReqDefForListServices ¶
func GenReqDefForListServices() *def.HttpRequestDef
func GenReqDefForListTagPolicyServices ¶
func GenReqDefForListTagPolicyServices() *def.HttpRequestDef
func GenReqDefForListTagResources ¶
func GenReqDefForListTagResources() *def.HttpRequestDef
func GenReqDefForListTagsForResource ¶
func GenReqDefForListTagsForResource() *def.HttpRequestDef
func GenReqDefForListTrustedServices ¶
func GenReqDefForListTrustedServices() *def.HttpRequestDef
func GenReqDefForMoveAccount ¶
func GenReqDefForMoveAccount() *def.HttpRequestDef
func GenReqDefForRegisterDelegatedAdministrator ¶
func GenReqDefForRegisterDelegatedAdministrator() *def.HttpRequestDef
func GenReqDefForRemoveAccount ¶
func GenReqDefForRemoveAccount() *def.HttpRequestDef
func GenReqDefForShowAccount ¶
func GenReqDefForShowAccount() *def.HttpRequestDef
func GenReqDefForShowCreateAccountStatus ¶
func GenReqDefForShowCreateAccountStatus() *def.HttpRequestDef
func GenReqDefForShowEffectivePolicies ¶
func GenReqDefForShowEffectivePolicies() *def.HttpRequestDef
func GenReqDefForShowHandshake ¶
func GenReqDefForShowHandshake() *def.HttpRequestDef
func GenReqDefForShowOrganization ¶
func GenReqDefForShowOrganization() *def.HttpRequestDef
func GenReqDefForShowOrganizationalUnit ¶
func GenReqDefForShowOrganizationalUnit() *def.HttpRequestDef
func GenReqDefForShowPolicy ¶
func GenReqDefForShowPolicy() *def.HttpRequestDef
func GenReqDefForShowResourceInstancesCount ¶
func GenReqDefForShowResourceInstancesCount() *def.HttpRequestDef
func GenReqDefForTagResource ¶
func GenReqDefForTagResource() *def.HttpRequestDef
func GenReqDefForUntagResource ¶
func GenReqDefForUntagResource() *def.HttpRequestDef
func GenReqDefForUpdateOrganizationalUnit ¶
func GenReqDefForUpdateOrganizationalUnit() *def.HttpRequestDef
func GenReqDefForUpdatePolicy ¶
func GenReqDefForUpdatePolicy() *def.HttpRequestDef
func OrganizationsClientBuilder ¶
func OrganizationsClientBuilder() *httpclient.HcHttpClientBuilder
Types ¶
type AcceptHandshakeInvoker ¶
type AcceptHandshakeInvoker struct {
*invoker.BaseInvoker
}
func (*AcceptHandshakeInvoker) Invoke ¶
func (i *AcceptHandshakeInvoker) Invoke() (*model.AcceptHandshakeResponse, error)
type AttachPolicyInvoker ¶
type AttachPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*AttachPolicyInvoker) Invoke ¶
func (i *AttachPolicyInvoker) Invoke() (*model.AttachPolicyResponse, error)
type CancelHandshakeInvoker ¶
type CancelHandshakeInvoker struct {
*invoker.BaseInvoker
}
func (*CancelHandshakeInvoker) Invoke ¶
func (i *CancelHandshakeInvoker) Invoke() (*model.CancelHandshakeResponse, error)
type CloseAccountInvoker ¶ added in v0.1.94
type CloseAccountInvoker struct {
*invoker.BaseInvoker
}
func (*CloseAccountInvoker) Invoke ¶ added in v0.1.94
func (i *CloseAccountInvoker) Invoke() (*model.CloseAccountResponse, error)
type CreateAccountInvoker ¶
type CreateAccountInvoker struct {
*invoker.BaseInvoker
}
func (*CreateAccountInvoker) Invoke ¶
func (i *CreateAccountInvoker) Invoke() (*model.CreateAccountResponse, error)
type CreateOrganizationInvoker ¶
type CreateOrganizationInvoker struct {
*invoker.BaseInvoker
}
func (*CreateOrganizationInvoker) Invoke ¶
func (i *CreateOrganizationInvoker) Invoke() (*model.CreateOrganizationResponse, error)
type CreateOrganizationalUnitInvoker ¶
type CreateOrganizationalUnitInvoker struct {
*invoker.BaseInvoker
}
func (*CreateOrganizationalUnitInvoker) Invoke ¶
func (i *CreateOrganizationalUnitInvoker) Invoke() (*model.CreateOrganizationalUnitResponse, error)
type CreatePolicyInvoker ¶
type CreatePolicyInvoker struct {
*invoker.BaseInvoker
}
func (*CreatePolicyInvoker) Invoke ¶
func (i *CreatePolicyInvoker) Invoke() (*model.CreatePolicyResponse, error)
type CreateTagResourceInvoker ¶
type CreateTagResourceInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTagResourceInvoker) Invoke ¶
func (i *CreateTagResourceInvoker) Invoke() (*model.CreateTagResourceResponse, error)
type DeclineHandshakeInvoker ¶
type DeclineHandshakeInvoker struct {
*invoker.BaseInvoker
}
func (*DeclineHandshakeInvoker) Invoke ¶
func (i *DeclineHandshakeInvoker) Invoke() (*model.DeclineHandshakeResponse, error)
type DeleteOrganizationInvoker ¶
type DeleteOrganizationInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteOrganizationInvoker) Invoke ¶
func (i *DeleteOrganizationInvoker) Invoke() (*model.DeleteOrganizationResponse, error)
type DeleteOrganizationalUnitInvoker ¶
type DeleteOrganizationalUnitInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteOrganizationalUnitInvoker) Invoke ¶
func (i *DeleteOrganizationalUnitInvoker) Invoke() (*model.DeleteOrganizationalUnitResponse, error)
type DeletePolicyInvoker ¶
type DeletePolicyInvoker struct {
*invoker.BaseInvoker
}
func (*DeletePolicyInvoker) Invoke ¶
func (i *DeletePolicyInvoker) Invoke() (*model.DeletePolicyResponse, error)
type DeleteTagResourceInvoker ¶
type DeleteTagResourceInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTagResourceInvoker) Invoke ¶
func (i *DeleteTagResourceInvoker) Invoke() (*model.DeleteTagResourceResponse, error)
type DeregisterDelegatedAdministratorInvoker ¶
type DeregisterDelegatedAdministratorInvoker struct {
*invoker.BaseInvoker
}
func (*DeregisterDelegatedAdministratorInvoker) Invoke ¶
func (i *DeregisterDelegatedAdministratorInvoker) Invoke() (*model.DeregisterDelegatedAdministratorResponse, error)
type DetachPolicyInvoker ¶
type DetachPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*DetachPolicyInvoker) Invoke ¶
func (i *DetachPolicyInvoker) Invoke() (*model.DetachPolicyResponse, error)
type DisablePolicyTypeInvoker ¶
type DisablePolicyTypeInvoker struct {
*invoker.BaseInvoker
}
func (*DisablePolicyTypeInvoker) Invoke ¶
func (i *DisablePolicyTypeInvoker) Invoke() (*model.DisablePolicyTypeResponse, error)
type DisableTrustedServiceInvoker ¶
type DisableTrustedServiceInvoker struct {
*invoker.BaseInvoker
}
func (*DisableTrustedServiceInvoker) Invoke ¶
func (i *DisableTrustedServiceInvoker) Invoke() (*model.DisableTrustedServiceResponse, error)
type EnablePolicyTypeInvoker ¶
type EnablePolicyTypeInvoker struct {
*invoker.BaseInvoker
}
func (*EnablePolicyTypeInvoker) Invoke ¶
func (i *EnablePolicyTypeInvoker) Invoke() (*model.EnablePolicyTypeResponse, error)
type EnableTrustedServiceInvoker ¶
type EnableTrustedServiceInvoker struct {
*invoker.BaseInvoker
}
func (*EnableTrustedServiceInvoker) Invoke ¶
func (i *EnableTrustedServiceInvoker) Invoke() (*model.EnableTrustedServiceResponse, error)
type InviteAccountInvoker ¶
type InviteAccountInvoker struct {
*invoker.BaseInvoker
}
func (*InviteAccountInvoker) Invoke ¶
func (i *InviteAccountInvoker) Invoke() (*model.InviteAccountResponse, error)
type LeaveOrganizationInvoker ¶
type LeaveOrganizationInvoker struct {
*invoker.BaseInvoker
}
func (*LeaveOrganizationInvoker) Invoke ¶
func (i *LeaveOrganizationInvoker) Invoke() (*model.LeaveOrganizationResponse, error)
type ListAccountsInvoker ¶
type ListAccountsInvoker struct {
*invoker.BaseInvoker
}
func (*ListAccountsInvoker) Invoke ¶
func (i *ListAccountsInvoker) Invoke() (*model.ListAccountsResponse, error)
type ListCloseAccountStatusesInvoker ¶ added in v0.1.86
type ListCloseAccountStatusesInvoker struct {
*invoker.BaseInvoker
}
func (*ListCloseAccountStatusesInvoker) Invoke ¶ added in v0.1.86
func (i *ListCloseAccountStatusesInvoker) Invoke() (*model.ListCloseAccountStatusesResponse, error)
type ListCreateAccountStatusesInvoker ¶
type ListCreateAccountStatusesInvoker struct {
*invoker.BaseInvoker
}
func (*ListCreateAccountStatusesInvoker) Invoke ¶
func (i *ListCreateAccountStatusesInvoker) Invoke() (*model.ListCreateAccountStatusesResponse, error)
type ListDelegatedAdministratorsInvoker ¶
type ListDelegatedAdministratorsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDelegatedAdministratorsInvoker) Invoke ¶
func (i *ListDelegatedAdministratorsInvoker) Invoke() (*model.ListDelegatedAdministratorsResponse, error)
type ListDelegatedServicesInvoker ¶
type ListDelegatedServicesInvoker struct {
*invoker.BaseInvoker
}
func (*ListDelegatedServicesInvoker) Invoke ¶
func (i *ListDelegatedServicesInvoker) Invoke() (*model.ListDelegatedServicesResponse, error)
type ListEntitiesForPolicyInvoker ¶
type ListEntitiesForPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*ListEntitiesForPolicyInvoker) Invoke ¶
func (i *ListEntitiesForPolicyInvoker) Invoke() (*model.ListEntitiesForPolicyResponse, error)
type ListEntitiesInvoker ¶
type ListEntitiesInvoker struct {
*invoker.BaseInvoker
}
func (*ListEntitiesInvoker) Invoke ¶
func (i *ListEntitiesInvoker) Invoke() (*model.ListEntitiesResponse, error)
type ListHandshakesInvoker ¶
type ListHandshakesInvoker struct {
*invoker.BaseInvoker
}
func (*ListHandshakesInvoker) Invoke ¶
func (i *ListHandshakesInvoker) Invoke() (*model.ListHandshakesResponse, error)
type ListOrganizationalUnitsInvoker ¶
type ListOrganizationalUnitsInvoker struct {
*invoker.BaseInvoker
}
func (*ListOrganizationalUnitsInvoker) Invoke ¶
func (i *ListOrganizationalUnitsInvoker) Invoke() (*model.ListOrganizationalUnitsResponse, error)
type ListPoliciesInvoker ¶
type ListPoliciesInvoker struct {
*invoker.BaseInvoker
}
func (*ListPoliciesInvoker) Invoke ¶
func (i *ListPoliciesInvoker) Invoke() (*model.ListPoliciesResponse, error)
type ListQuotasInvoker ¶ added in v0.1.42
type ListQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ListQuotasInvoker) Invoke ¶ added in v0.1.42
func (i *ListQuotasInvoker) Invoke() (*model.ListQuotasResponse, error)
type ListReceivedHandshakesInvoker ¶
type ListReceivedHandshakesInvoker struct {
*invoker.BaseInvoker
}
func (*ListReceivedHandshakesInvoker) Invoke ¶
func (i *ListReceivedHandshakesInvoker) Invoke() (*model.ListReceivedHandshakesResponse, error)
type ListResourceInstancesInvoker ¶
type ListResourceInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceInstancesInvoker) Invoke ¶
func (i *ListResourceInstancesInvoker) Invoke() (*model.ListResourceInstancesResponse, error)
type ListResourceTagsInvoker ¶
type ListResourceTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceTagsInvoker) Invoke ¶
func (i *ListResourceTagsInvoker) Invoke() (*model.ListResourceTagsResponse, error)
type ListRootsInvoker ¶
type ListRootsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRootsInvoker) Invoke ¶
func (i *ListRootsInvoker) Invoke() (*model.ListRootsResponse, error)
type ListServicesInvoker ¶
type ListServicesInvoker struct {
*invoker.BaseInvoker
}
func (*ListServicesInvoker) Invoke ¶
func (i *ListServicesInvoker) Invoke() (*model.ListServicesResponse, error)
type ListTagPolicyServicesInvoker ¶
type ListTagPolicyServicesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagPolicyServicesInvoker) Invoke ¶
func (i *ListTagPolicyServicesInvoker) Invoke() (*model.ListTagPolicyServicesResponse, error)
type ListTagResourcesInvoker ¶
type ListTagResourcesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagResourcesInvoker) Invoke ¶
func (i *ListTagResourcesInvoker) Invoke() (*model.ListTagResourcesResponse, error)
type ListTagsForResourceInvoker ¶
type ListTagsForResourceInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagsForResourceInvoker) Invoke ¶
func (i *ListTagsForResourceInvoker) Invoke() (*model.ListTagsForResourceResponse, error)
type ListTrustedServicesInvoker ¶
type ListTrustedServicesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTrustedServicesInvoker) Invoke ¶
func (i *ListTrustedServicesInvoker) Invoke() (*model.ListTrustedServicesResponse, error)
type MoveAccountInvoker ¶
type MoveAccountInvoker struct {
*invoker.BaseInvoker
}
func (*MoveAccountInvoker) Invoke ¶
func (i *MoveAccountInvoker) Invoke() (*model.MoveAccountResponse, error)
type OrganizationsClient ¶
type OrganizationsClient struct {
HcClient *httpclient.HcHttpClient
}
func NewOrganizationsClient ¶
func NewOrganizationsClient(hcClient *httpclient.HcHttpClient) *OrganizationsClient
func (*OrganizationsClient) AcceptHandshake ¶
func (c *OrganizationsClient) AcceptHandshake(request *model.AcceptHandshakeRequest) (*model.AcceptHandshakeResponse, error)
AcceptHandshake 接受邀请
向邀请的发起方发送应答,接受加入组织邀请。在您接受邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) AcceptHandshakeInvoker ¶
func (c *OrganizationsClient) AcceptHandshakeInvoker(request *model.AcceptHandshakeRequest) *AcceptHandshakeInvoker
AcceptHandshakeInvoker 接受邀请
func (*OrganizationsClient) AttachPolicy ¶
func (c *OrganizationsClient) AttachPolicy(request *model.AttachPolicyRequest) (*model.AttachPolicyResponse, error)
AttachPolicy 将策略跟实体绑定
绑定策略到根、组织单元或个人账户。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) AttachPolicyInvoker ¶
func (c *OrganizationsClient) AttachPolicyInvoker(request *model.AttachPolicyRequest) *AttachPolicyInvoker
AttachPolicyInvoker 将策略跟实体绑定
func (*OrganizationsClient) CancelHandshake ¶
func (c *OrganizationsClient) CancelHandshake(request *model.CancelHandshakeRequest) (*model.CancelHandshakeResponse, error)
CancelHandshake 取消邀请
取消邀请,此时邀请状态将设置为已取消。此接口只能由发起邀请的账号调用。取消邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) CancelHandshakeInvoker ¶
func (c *OrganizationsClient) CancelHandshakeInvoker(request *model.CancelHandshakeRequest) *CancelHandshakeInvoker
CancelHandshakeInvoker 取消邀请
func (*OrganizationsClient) CloseAccount ¶ added in v0.1.94
func (c *OrganizationsClient) CloseAccount(request *model.CloseAccountRequest) (*model.CloseAccountResponse, error)
CloseAccount 关闭账号
关闭账号。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) CloseAccountInvoker ¶ added in v0.1.94
func (c *OrganizationsClient) CloseAccountInvoker(request *model.CloseAccountRequest) *CloseAccountInvoker
CloseAccountInvoker 关闭账号
func (*OrganizationsClient) CreateAccount ¶
func (c *OrganizationsClient) CreateAccount(request *model.CreateAccountRequest) (*model.CreateAccountResponse, error)
CreateAccount 创建账号
创建一个账号,生成的账号将自动成为调用此接口的账号所属组织的成员。此操作只能由组织的管理账号调用。组织云服务将在新账号中创建所需的服务关联委托和账号访问委托。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) CreateAccountInvoker ¶
func (c *OrganizationsClient) CreateAccountInvoker(request *model.CreateAccountRequest) *CreateAccountInvoker
CreateAccountInvoker 创建账号
func (*OrganizationsClient) CreateOrganization ¶
func (c *OrganizationsClient) CreateOrganization(request *model.CreateOrganizationRequest) (*model.CreateOrganizationResponse, error)
CreateOrganization 创建组织
创建组织。调用此接口的账号将自动成为新组织的管理账号,调用此接口的账号凭证必须是新组织管理账号的账号凭证。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) CreateOrganizationInvoker ¶
func (c *OrganizationsClient) CreateOrganizationInvoker(request *model.CreateOrganizationRequest) *CreateOrganizationInvoker
CreateOrganizationInvoker 创建组织
func (*OrganizationsClient) CreateOrganizationalUnit ¶
func (c *OrganizationsClient) CreateOrganizationalUnit(request *model.CreateOrganizationalUnitRequest) (*model.CreateOrganizationalUnitResponse, error)
CreateOrganizationalUnit 创建组织单元
在根或父组织单元中创建组织单元。组织单元是账号的容器,使您能够对账号进行分组管理,并根据业务要求应用策略。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) CreateOrganizationalUnitInvoker ¶
func (c *OrganizationsClient) CreateOrganizationalUnitInvoker(request *model.CreateOrganizationalUnitRequest) *CreateOrganizationalUnitInvoker
CreateOrganizationalUnitInvoker 创建组织单元
func (*OrganizationsClient) CreatePolicy ¶
func (c *OrganizationsClient) CreatePolicy(request *model.CreatePolicyRequest) (*model.CreatePolicyResponse, error)
CreatePolicy 创建策略
创建指定类型的策略。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) CreatePolicyInvoker ¶
func (c *OrganizationsClient) CreatePolicyInvoker(request *model.CreatePolicyRequest) *CreatePolicyInvoker
CreatePolicyInvoker 创建策略
func (*OrganizationsClient) CreateTagResource ¶
func (c *OrganizationsClient) CreateTagResource(request *model.CreateTagResourceRequest) (*model.CreateTagResourceResponse, error)
CreateTagResource 为指定资源添加标签
向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) CreateTagResourceInvoker ¶
func (c *OrganizationsClient) CreateTagResourceInvoker(request *model.CreateTagResourceRequest) *CreateTagResourceInvoker
CreateTagResourceInvoker 为指定资源添加标签
func (*OrganizationsClient) DeclineHandshake ¶
func (c *OrganizationsClient) DeclineHandshake(request *model.DeclineHandshakeRequest) (*model.DeclineHandshakeResponse, error)
DeclineHandshake 拒绝邀请
拒绝邀请请求。受邀账号拒绝邀请,此时当前邀请状态将设置为拒绝,邀请停止。此接口只能由受邀账号调用。邀请发起者无法再次激活被拒绝的邀请,但可以重新发送新的邀请。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DeclineHandshakeInvoker ¶
func (c *OrganizationsClient) DeclineHandshakeInvoker(request *model.DeclineHandshakeRequest) *DeclineHandshakeInvoker
DeclineHandshakeInvoker 拒绝邀请
func (*OrganizationsClient) DeleteOrganization ¶
func (c *OrganizationsClient) DeleteOrganization(request *model.DeleteOrganizationRequest) (*model.DeleteOrganizationResponse, error)
DeleteOrganization 删除组织
删除组织。您必须使用管理账号才能删除组织,并且先移除组织中的所有账号、组织单元和策略。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DeleteOrganizationInvoker ¶
func (c *OrganizationsClient) DeleteOrganizationInvoker(request *model.DeleteOrganizationRequest) *DeleteOrganizationInvoker
DeleteOrganizationInvoker 删除组织
func (*OrganizationsClient) DeleteOrganizationalUnit ¶
func (c *OrganizationsClient) DeleteOrganizationalUnit(request *model.DeleteOrganizationalUnitRequest) (*model.DeleteOrganizationalUnitResponse, error)
DeleteOrganizationalUnit 删除组织单元
从根或其他组织单元中删除组织单元。前提是您必须先移除该组织单元中的所有成员账号或将成员账号移动至其他组织单元,必须删除该组织单元中的所有子组织单元。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DeleteOrganizationalUnitInvoker ¶
func (c *OrganizationsClient) DeleteOrganizationalUnitInvoker(request *model.DeleteOrganizationalUnitRequest) *DeleteOrganizationalUnitInvoker
DeleteOrganizationalUnitInvoker 删除组织单元
func (*OrganizationsClient) DeletePolicy ¶
func (c *OrganizationsClient) DeletePolicy(request *model.DeletePolicyRequest) (*model.DeletePolicyResponse, error)
DeletePolicy 删除策略
从组织中删除指定的策略。在执行此操作之前,必须首先将策略跟所有组织单元、根和账号解绑。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DeletePolicyInvoker ¶
func (c *OrganizationsClient) DeletePolicyInvoker(request *model.DeletePolicyRequest) *DeletePolicyInvoker
DeletePolicyInvoker 删除策略
func (*OrganizationsClient) DeleteTagResource ¶
func (c *OrganizationsClient) DeleteTagResource(request *model.DeleteTagResourceRequest) (*model.DeleteTagResourceResponse, error)
DeleteTagResource 从指定资源中删除指定主键标签
从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DeleteTagResourceInvoker ¶
func (c *OrganizationsClient) DeleteTagResourceInvoker(request *model.DeleteTagResourceRequest) *DeleteTagResourceInvoker
DeleteTagResourceInvoker 从指定资源中删除指定主键标签
func (*OrganizationsClient) DeregisterDelegatedAdministrator ¶
func (c *OrganizationsClient) DeregisterDelegatedAdministrator(request *model.DeregisterDelegatedAdministratorRequest) (*model.DeregisterDelegatedAdministratorResponse, error)
DeregisterDelegatedAdministrator 注销服务的委托管理员
删除指定成员账号作为指定服务的委托管理员。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DeregisterDelegatedAdministratorInvoker ¶
func (c *OrganizationsClient) DeregisterDelegatedAdministratorInvoker(request *model.DeregisterDelegatedAdministratorRequest) *DeregisterDelegatedAdministratorInvoker
DeregisterDelegatedAdministratorInvoker 注销服务的委托管理员
func (*OrganizationsClient) DetachPolicy ¶
func (c *OrganizationsClient) DetachPolicy(request *model.DetachPolicyRequest) (*model.DetachPolicyResponse, error)
DetachPolicy 将策略跟实体解绑
从根、组织单元或账号解绑策略。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DetachPolicyInvoker ¶
func (c *OrganizationsClient) DetachPolicyInvoker(request *model.DetachPolicyRequest) *DetachPolicyInvoker
DetachPolicyInvoker 将策略跟实体解绑
func (*OrganizationsClient) DisablePolicyType ¶
func (c *OrganizationsClient) DisablePolicyType(request *model.DisablePolicyTypeRequest) (*model.DisablePolicyTypeResponse, error)
DisablePolicyType 禁用根中的策略类型
禁用根中的策略类型。只有在根中启用了特定类型的策略,才能将该类型的策略绑定到根中的实体。执行此操作后,您不能再将指定类型的策略绑定到该根或该根中的任何组织单元或账号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DisablePolicyTypeInvoker ¶
func (c *OrganizationsClient) DisablePolicyTypeInvoker(request *model.DisablePolicyTypeRequest) *DisablePolicyTypeInvoker
DisablePolicyTypeInvoker 禁用根中的策略类型
func (*OrganizationsClient) DisableTrustedService ¶
func (c *OrganizationsClient) DisableTrustedService(request *model.DisableTrustedServiceRequest) (*model.DisableTrustedServiceResponse, error)
DisableTrustedService 禁用受信任服务
禁用服务(由service_principal指定的服务)与组织的集成。禁用可信服务后,指定服务将不可以在组织中的新账号中创建服务关联委托。这意味着该服务无法代表您对组织中的任何新账号执行操作。在服务完成从组织中的清理之前,服务仍可以在旧账号中执行操作。此接口只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) DisableTrustedServiceInvoker ¶
func (c *OrganizationsClient) DisableTrustedServiceInvoker(request *model.DisableTrustedServiceRequest) *DisableTrustedServiceInvoker
DisableTrustedServiceInvoker 禁用受信任服务
func (*OrganizationsClient) EnablePolicyType ¶
func (c *OrganizationsClient) EnablePolicyType(request *model.EnablePolicyTypeRequest) (*model.EnablePolicyTypeResponse, error)
EnablePolicyType 在根中启用策略类型
在根中启用策略类型。在根中启用策略类型后,您可以将该类型的策略绑定到根、或该根中的任何组织单元和账号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) EnablePolicyTypeInvoker ¶
func (c *OrganizationsClient) EnablePolicyTypeInvoker(request *model.EnablePolicyTypeRequest) *EnablePolicyTypeInvoker
EnablePolicyTypeInvoker 在根中启用策略类型
func (*OrganizationsClient) EnableTrustedService ¶
func (c *OrganizationsClient) EnableTrustedService(request *model.EnableTrustedServiceRequest) (*model.EnableTrustedServiceResponse, error)
EnableTrustedService 启用可信服务
启用服务(由service_principal指定的服务)与组织的集成。启用可信服务后,允许指定的可信服务对组织中的所有账号创建服务关联委托。这允许可信服务代表您在组织及其账号中执行操作。此接口只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) EnableTrustedServiceInvoker ¶
func (c *OrganizationsClient) EnableTrustedServiceInvoker(request *model.EnableTrustedServiceRequest) *EnableTrustedServiceInvoker
EnableTrustedServiceInvoker 启用可信服务
func (*OrganizationsClient) InviteAccount ¶
func (c *OrganizationsClient) InviteAccount(request *model.InviteAccountRequest) (*model.InviteAccountResponse, error)
InviteAccount 邀请账号加入组织
向另一个账号发送邀请,受邀账号将以成员账号加入您的组织。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) InviteAccountInvoker ¶
func (c *OrganizationsClient) InviteAccountInvoker(request *model.InviteAccountRequest) *InviteAccountInvoker
InviteAccountInvoker 邀请账号加入组织
func (*OrganizationsClient) LeaveOrganization ¶
func (c *OrganizationsClient) LeaveOrganization(request *model.LeaveOrganizationRequest) (*model.LeaveOrganizationResponse, error)
LeaveOrganization 离开当前组织
此操作只能由组织的成员账号调用。只有当组织账号配置了作为独立账号运行所需的信息时,您才能作为成员账户离开组织。要离开的账号不能是组织启用的任何服务的委托管理员账号。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) LeaveOrganizationInvoker ¶
func (c *OrganizationsClient) LeaveOrganizationInvoker(request *model.LeaveOrganizationRequest) *LeaveOrganizationInvoker
LeaveOrganizationInvoker 离开当前组织
func (*OrganizationsClient) ListAccounts ¶
func (c *OrganizationsClient) ListAccounts(request *model.ListAccountsRequest) (*model.ListAccountsResponse, error)
ListAccounts 列出组织中的账号
列出组织中的账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。如果指定父级组织单元,则将获得作为父级直系子级的所有账号的列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListAccountsInvoker ¶
func (c *OrganizationsClient) ListAccountsInvoker(request *model.ListAccountsRequest) *ListAccountsInvoker
ListAccountsInvoker 列出组织中的账号
func (*OrganizationsClient) ListCloseAccountStatuses ¶ added in v0.1.86
func (c *OrganizationsClient) ListCloseAccountStatuses(request *model.ListCloseAccountStatusesRequest) (*model.ListCloseAccountStatusesResponse, error)
ListCloseAccountStatuses 列出关闭账号的状态
列出组织中指定状态的账号关闭请求。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListCloseAccountStatusesInvoker ¶ added in v0.1.86
func (c *OrganizationsClient) ListCloseAccountStatusesInvoker(request *model.ListCloseAccountStatusesRequest) *ListCloseAccountStatusesInvoker
ListCloseAccountStatusesInvoker 列出关闭账号的状态
func (*OrganizationsClient) ListCreateAccountStatuses ¶
func (c *OrganizationsClient) ListCreateAccountStatuses(request *model.ListCreateAccountStatusesRequest) (*model.ListCreateAccountStatusesResponse, error)
ListCreateAccountStatuses 列出创建账号的状态
列出组织中指定状态的账号创建请求。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListCreateAccountStatusesInvoker ¶
func (c *OrganizationsClient) ListCreateAccountStatusesInvoker(request *model.ListCreateAccountStatusesRequest) *ListCreateAccountStatusesInvoker
ListCreateAccountStatusesInvoker 列出创建账号的状态
func (*OrganizationsClient) ListDelegatedAdministrators ¶
func (c *OrganizationsClient) ListDelegatedAdministrators(request *model.ListDelegatedAdministratorsRequest) (*model.ListDelegatedAdministratorsResponse, error)
ListDelegatedAdministrators 列出此组织中指定为委托管理员的账号
列出在此组织中指定为委派管理员的账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListDelegatedAdministratorsInvoker ¶
func (c *OrganizationsClient) ListDelegatedAdministratorsInvoker(request *model.ListDelegatedAdministratorsRequest) *ListDelegatedAdministratorsInvoker
ListDelegatedAdministratorsInvoker 列出此组织中指定为委托管理员的账号
func (*OrganizationsClient) ListDelegatedServices ¶
func (c *OrganizationsClient) ListDelegatedServices(request *model.ListDelegatedServicesRequest) (*model.ListDelegatedServicesResponse, error)
ListDelegatedServices 列出指定账号是其委托管理员的服务
列出指定账号是其委托管理员的服务。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListDelegatedServicesInvoker ¶
func (c *OrganizationsClient) ListDelegatedServicesInvoker(request *model.ListDelegatedServicesRequest) *ListDelegatedServicesInvoker
ListDelegatedServicesInvoker 列出指定账号是其委托管理员的服务
func (*OrganizationsClient) ListEntities ¶
func (c *OrganizationsClient) ListEntities(request *model.ListEntitiesRequest) (*model.ListEntitiesResponse, error)
ListEntities 列出组织中的根、组织单元和账号
列出组织中包含的所有根、组织单元和账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。您可以通过指定父ID和子ID参数来过滤实体。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListEntitiesForPolicy ¶
func (c *OrganizationsClient) ListEntitiesForPolicy(request *model.ListEntitiesForPolicyRequest) (*model.ListEntitiesForPolicyResponse, error)
ListEntitiesForPolicy 列出跟指定策略绑定的所有实体
列出跟指定策略绑定的所有根、组织单元和账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListEntitiesForPolicyInvoker ¶
func (c *OrganizationsClient) ListEntitiesForPolicyInvoker(request *model.ListEntitiesForPolicyRequest) *ListEntitiesForPolicyInvoker
ListEntitiesForPolicyInvoker 列出跟指定策略绑定的所有实体
func (*OrganizationsClient) ListEntitiesInvoker ¶
func (c *OrganizationsClient) ListEntitiesInvoker(request *model.ListEntitiesRequest) *ListEntitiesInvoker
ListEntitiesInvoker 列出组织中的根、组织单元和账号
func (*OrganizationsClient) ListHandshakes ¶
func (c *OrganizationsClient) ListHandshakes(request *model.ListHandshakesRequest) (*model.ListHandshakesResponse, error)
ListHandshakes 列出发送的邀请
列出所属组织发送的邀请。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListHandshakesInvoker ¶
func (c *OrganizationsClient) ListHandshakesInvoker(request *model.ListHandshakesRequest) *ListHandshakesInvoker
ListHandshakesInvoker 列出发送的邀请
func (*OrganizationsClient) ListOrganizationalUnits ¶
func (c *OrganizationsClient) ListOrganizationalUnits(request *model.ListOrganizationalUnitsRequest) (*model.ListOrganizationalUnitsResponse, error)
ListOrganizationalUnits 列出组织单元
列出组织中的所有组织单元。如果指定父级组织单元,则将获得父级直系子级的组织单元列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListOrganizationalUnitsInvoker ¶
func (c *OrganizationsClient) ListOrganizationalUnitsInvoker(request *model.ListOrganizationalUnitsRequest) *ListOrganizationalUnitsInvoker
ListOrganizationalUnitsInvoker 列出组织单元
func (*OrganizationsClient) ListPolicies ¶
func (c *OrganizationsClient) ListPolicies(request *model.ListPoliciesRequest) (*model.ListPoliciesResponse, error)
ListPolicies 列出策略
列出组织中的所有策略。如果指定了资源ID,例如组织单元ID或账号ID,则将获得该资源已绑定的策略列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListPoliciesInvoker ¶
func (c *OrganizationsClient) ListPoliciesInvoker(request *model.ListPoliciesRequest) *ListPoliciesInvoker
ListPoliciesInvoker 列出策略
func (*OrganizationsClient) ListQuotas ¶ added in v0.1.42
func (c *OrganizationsClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
ListQuotas 列出租户的组织配额
列出租户的组织配额。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListQuotasInvoker ¶ added in v0.1.42
func (c *OrganizationsClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker
ListQuotasInvoker 列出租户的组织配额
func (*OrganizationsClient) ListReceivedHandshakes ¶
func (c *OrganizationsClient) ListReceivedHandshakes(request *model.ListReceivedHandshakesRequest) (*model.ListReceivedHandshakesResponse, error)
ListReceivedHandshakes 列出收到的邀请
列出账号收到的所有邀请。此操作可以由任何账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListReceivedHandshakesInvoker ¶
func (c *OrganizationsClient) ListReceivedHandshakesInvoker(request *model.ListReceivedHandshakesRequest) *ListReceivedHandshakesInvoker
ListReceivedHandshakesInvoker 列出收到的邀请
func (*OrganizationsClient) ListResourceInstances ¶
func (c *OrganizationsClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
ListResourceInstances 根据资源类型及标签信息查询实例列表
根据资源类型及标签信息查询实例列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListResourceInstancesInvoker ¶
func (c *OrganizationsClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
ListResourceInstancesInvoker 根据资源类型及标签信息查询实例列表
func (*OrganizationsClient) ListResourceTags ¶
func (c *OrganizationsClient) ListResourceTags(request *model.ListResourceTagsRequest) (*model.ListResourceTagsResponse, error)
ListResourceTags 查询资源标签
查询资源标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListResourceTagsInvoker ¶
func (c *OrganizationsClient) ListResourceTagsInvoker(request *model.ListResourceTagsRequest) *ListResourceTagsInvoker
ListResourceTagsInvoker 查询资源标签
func (*OrganizationsClient) ListRoots ¶
func (c *OrganizationsClient) ListRoots(request *model.ListRootsRequest) (*model.ListRootsResponse, error)
ListRoots 列出组织的根
列出当前组织的根。此接口只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListRootsInvoker ¶
func (c *OrganizationsClient) ListRootsInvoker(request *model.ListRootsRequest) *ListRootsInvoker
ListRootsInvoker 列出组织的根
func (*OrganizationsClient) ListServices ¶
func (c *OrganizationsClient) ListServices(request *model.ListServicesRequest) (*model.ListServicesResponse, error)
ListServices 列出所有可以与组织服务集成的云服务
列出所有可以与组织服务集成的云服务。集成后云服务将成为组织的可信服务。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListServicesInvoker ¶
func (c *OrganizationsClient) ListServicesInvoker(request *model.ListServicesRequest) *ListServicesInvoker
ListServicesInvoker 列出所有可以与组织服务集成的云服务
func (*OrganizationsClient) ListTagPolicyServices ¶
func (c *OrganizationsClient) ListTagPolicyServices(request *model.ListTagPolicyServicesRequest) (*model.ListTagPolicyServicesResponse, error)
ListTagPolicyServices 列出被添加到标签策略强制执行的资源类型
列出被添加到标签策略强制执行的资源类型。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListTagPolicyServicesInvoker ¶
func (c *OrganizationsClient) ListTagPolicyServicesInvoker(request *model.ListTagPolicyServicesRequest) *ListTagPolicyServicesInvoker
ListTagPolicyServicesInvoker 列出被添加到标签策略强制执行的资源类型
func (*OrganizationsClient) ListTagResources ¶
func (c *OrganizationsClient) ListTagResources(request *model.ListTagResourcesRequest) (*model.ListTagResourcesResponse, error)
ListTagResources 列出绑定到指定资源的标签
列出绑定到指定资源的标签。您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListTagResourcesInvoker ¶
func (c *OrganizationsClient) ListTagResourcesInvoker(request *model.ListTagResourcesRequest) *ListTagResourcesInvoker
ListTagResourcesInvoker 列出绑定到指定资源的标签
func (*OrganizationsClient) ListTagsForResource ¶
func (c *OrganizationsClient) ListTagsForResource(request *model.ListTagsForResourceRequest) (*model.ListTagsForResourceResponse, error)
ListTagsForResource 列出绑定到指定资源的标签
列出绑定到指定资源的标签。您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListTagsForResourceInvoker ¶
func (c *OrganizationsClient) ListTagsForResourceInvoker(request *model.ListTagsForResourceRequest) *ListTagsForResourceInvoker
ListTagsForResourceInvoker 列出绑定到指定资源的标签
func (*OrganizationsClient) ListTrustedServices ¶
func (c *OrganizationsClient) ListTrustedServices(request *model.ListTrustedServicesRequest) (*model.ListTrustedServicesResponse, error)
ListTrustedServices 列出组织的可信服务列表
返回启用与组织集成的可信服务列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ListTrustedServicesInvoker ¶
func (c *OrganizationsClient) ListTrustedServicesInvoker(request *model.ListTrustedServicesRequest) *ListTrustedServicesInvoker
ListTrustedServicesInvoker 列出组织的可信服务列表
func (*OrganizationsClient) MoveAccount ¶
func (c *OrganizationsClient) MoveAccount(request *model.MoveAccountRequest) (*model.MoveAccountResponse, error)
MoveAccount 移动账号
将账号从其当前源位置(根或组织单元)移动到指定的目标位置(根或组织单元)。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) MoveAccountInvoker ¶
func (c *OrganizationsClient) MoveAccountInvoker(request *model.MoveAccountRequest) *MoveAccountInvoker
MoveAccountInvoker 移动账号
func (*OrganizationsClient) RegisterDelegatedAdministrator ¶
func (c *OrganizationsClient) RegisterDelegatedAdministrator(request *model.RegisterDelegatedAdministratorRequest) (*model.RegisterDelegatedAdministratorResponse, error)
RegisterDelegatedAdministrator 注册作为服务委托管理员
指定成员账号能够管理指定服务的组织功能。此接口授予委托管理员对组织服务数据的只读访问权限。委托管理员账号中的IAM用户仍需要IAM权限才能访问和管理服务。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) RegisterDelegatedAdministratorInvoker ¶
func (c *OrganizationsClient) RegisterDelegatedAdministratorInvoker(request *model.RegisterDelegatedAdministratorRequest) *RegisterDelegatedAdministratorInvoker
RegisterDelegatedAdministratorInvoker 注册作为服务委托管理员
func (*OrganizationsClient) RemoveAccount ¶
func (c *OrganizationsClient) RemoveAccount(request *model.RemoveAccountRequest) (*model.RemoveAccountResponse, error)
RemoveAccount 移除指定的账号
从组织中移除指定的账号。移除的账号将成为一个独立账号,该账号不是任何组织的成员。此操作只能由组织的管理账号调用。只有当账号配置了作为独立账号运行所需的信息时,您才能从组织中移除账号。注意,要移除的账号不能是组织启用的任何服务的委托管理员账号。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) RemoveAccountInvoker ¶
func (c *OrganizationsClient) RemoveAccountInvoker(request *model.RemoveAccountRequest) *RemoveAccountInvoker
RemoveAccountInvoker 移除指定的账号
func (*OrganizationsClient) ShowAccount ¶
func (c *OrganizationsClient) ShowAccount(request *model.ShowAccountRequest) (*model.ShowAccountResponse, error)
ShowAccount 查询账号信息
查询有关指定账号的信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowAccountInvoker ¶
func (c *OrganizationsClient) ShowAccountInvoker(request *model.ShowAccountRequest) *ShowAccountInvoker
ShowAccountInvoker 查询账号信息
func (*OrganizationsClient) ShowCreateAccountStatus ¶
func (c *OrganizationsClient) ShowCreateAccountStatus(request *model.ShowCreateAccountStatusRequest) (*model.ShowCreateAccountStatusResponse, error)
ShowCreateAccountStatus 查询有关创建账号状态的信息
检索创建账号的异步请求的当前状态。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowCreateAccountStatusInvoker ¶
func (c *OrganizationsClient) ShowCreateAccountStatusInvoker(request *model.ShowCreateAccountStatusRequest) *ShowCreateAccountStatusInvoker
ShowCreateAccountStatusInvoker 查询有关创建账号状态的信息
func (*OrganizationsClient) ShowEffectivePolicies ¶
func (c *OrganizationsClient) ShowEffectivePolicies(request *model.ShowEffectivePoliciesRequest) (*model.ShowEffectivePoliciesResponse, error)
ShowEffectivePolicies 查询有效的策略
查询指定策略类型和账户的有效策略信息。当前此接口不支持查询服务控制策略(service_control_policy)。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowEffectivePoliciesInvoker ¶
func (c *OrganizationsClient) ShowEffectivePoliciesInvoker(request *model.ShowEffectivePoliciesRequest) *ShowEffectivePoliciesInvoker
ShowEffectivePoliciesInvoker 查询有效的策略
func (*OrganizationsClient) ShowHandshake ¶
func (c *OrganizationsClient) ShowHandshake(request *model.ShowHandshakeRequest) (*model.ShowHandshakeResponse, error)
ShowHandshake 查询邀请相关信息
查询组织中已有账号邀请的相关信息。此接口可以由组织中的任何账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowHandshakeInvoker ¶
func (c *OrganizationsClient) ShowHandshakeInvoker(request *model.ShowHandshakeRequest) *ShowHandshakeInvoker
ShowHandshakeInvoker 查询邀请相关信息
func (*OrganizationsClient) ShowOrganization ¶
func (c *OrganizationsClient) ShowOrganization(request *model.ShowOrganizationRequest) (*model.ShowOrganizationResponse, error)
ShowOrganization 查询所属组织信息
查询账号所属组织的信息。此操作可以由组织中的任何账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowOrganizationInvoker ¶
func (c *OrganizationsClient) ShowOrganizationInvoker(request *model.ShowOrganizationRequest) *ShowOrganizationInvoker
ShowOrganizationInvoker 查询所属组织信息
func (*OrganizationsClient) ShowOrganizationalUnit ¶
func (c *OrganizationsClient) ShowOrganizationalUnit(request *model.ShowOrganizationalUnitRequest) (*model.ShowOrganizationalUnitResponse, error)
ShowOrganizationalUnit 查询有关组织单元的信息
查询有关组织单元的信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowOrganizationalUnitInvoker ¶
func (c *OrganizationsClient) ShowOrganizationalUnitInvoker(request *model.ShowOrganizationalUnitRequest) *ShowOrganizationalUnitInvoker
ShowOrganizationalUnitInvoker 查询有关组织单元的信息
func (*OrganizationsClient) ShowPolicy ¶
func (c *OrganizationsClient) ShowPolicy(request *model.ShowPolicyRequest) (*model.ShowPolicyResponse, error)
ShowPolicy 查询策略相关信息
检索策略的相关信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowPolicyInvoker ¶
func (c *OrganizationsClient) ShowPolicyInvoker(request *model.ShowPolicyRequest) *ShowPolicyInvoker
ShowPolicyInvoker 查询策略相关信息
func (*OrganizationsClient) ShowResourceInstancesCount ¶
func (c *OrganizationsClient) ShowResourceInstancesCount(request *model.ShowResourceInstancesCountRequest) (*model.ShowResourceInstancesCountResponse, error)
ShowResourceInstancesCount 根据资源类型及标签信息查询实例数量
根据资源类型及标签信息查询实例数量。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) ShowResourceInstancesCountInvoker ¶
func (c *OrganizationsClient) ShowResourceInstancesCountInvoker(request *model.ShowResourceInstancesCountRequest) *ShowResourceInstancesCountInvoker
ShowResourceInstancesCountInvoker 根据资源类型及标签信息查询实例数量
func (*OrganizationsClient) TagResource ¶
func (c *OrganizationsClient) TagResource(request *model.TagResourceRequest) (*model.TagResourceResponse, error)
TagResource 为指定资源添加标签
向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) TagResourceInvoker ¶
func (c *OrganizationsClient) TagResourceInvoker(request *model.TagResourceRequest) *TagResourceInvoker
TagResourceInvoker 为指定资源添加标签
func (*OrganizationsClient) UntagResource ¶
func (c *OrganizationsClient) UntagResource(request *model.UntagResourceRequest) (*model.UntagResourceResponse, error)
UntagResource 从指定资源中删除指定主键标签
从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) UntagResourceInvoker ¶
func (c *OrganizationsClient) UntagResourceInvoker(request *model.UntagResourceRequest) *UntagResourceInvoker
UntagResourceInvoker 从指定资源中删除指定主键标签
func (*OrganizationsClient) UpdateOrganizationalUnit ¶
func (c *OrganizationsClient) UpdateOrganizationalUnit(request *model.UpdateOrganizationalUnitRequest) (*model.UpdateOrganizationalUnitResponse, error)
UpdateOrganizationalUnit 更改组织单元名称
重命名指定的组织单元。重命名后组织单元ID不变,下属子组织单元和下属账号不变,组织单元绑定的策略不变。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) UpdateOrganizationalUnitInvoker ¶
func (c *OrganizationsClient) UpdateOrganizationalUnitInvoker(request *model.UpdateOrganizationalUnitRequest) *UpdateOrganizationalUnitInvoker
UpdateOrganizationalUnitInvoker 更改组织单元名称
func (*OrganizationsClient) UpdatePolicy ¶
func (c *OrganizationsClient) UpdatePolicy(request *model.UpdatePolicyRequest) (*model.UpdatePolicyResponse, error)
UpdatePolicy 更新策略
更新策略,可以更新策略的名称、描述或内容。如果不提供任何参数,则策略将保持不变。您不能更改策略的类型。此操作只能由组织的管理账号调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*OrganizationsClient) UpdatePolicyInvoker ¶
func (c *OrganizationsClient) UpdatePolicyInvoker(request *model.UpdatePolicyRequest) *UpdatePolicyInvoker
UpdatePolicyInvoker 更新策略
type RegisterDelegatedAdministratorInvoker ¶
type RegisterDelegatedAdministratorInvoker struct {
*invoker.BaseInvoker
}
func (*RegisterDelegatedAdministratorInvoker) Invoke ¶
func (i *RegisterDelegatedAdministratorInvoker) Invoke() (*model.RegisterDelegatedAdministratorResponse, error)
type RemoveAccountInvoker ¶
type RemoveAccountInvoker struct {
*invoker.BaseInvoker
}
func (*RemoveAccountInvoker) Invoke ¶
func (i *RemoveAccountInvoker) Invoke() (*model.RemoveAccountResponse, error)
type ShowAccountInvoker ¶
type ShowAccountInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAccountInvoker) Invoke ¶
func (i *ShowAccountInvoker) Invoke() (*model.ShowAccountResponse, error)
type ShowCreateAccountStatusInvoker ¶
type ShowCreateAccountStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCreateAccountStatusInvoker) Invoke ¶
func (i *ShowCreateAccountStatusInvoker) Invoke() (*model.ShowCreateAccountStatusResponse, error)
type ShowEffectivePoliciesInvoker ¶
type ShowEffectivePoliciesInvoker struct {
*invoker.BaseInvoker
}
func (*ShowEffectivePoliciesInvoker) Invoke ¶
func (i *ShowEffectivePoliciesInvoker) Invoke() (*model.ShowEffectivePoliciesResponse, error)
type ShowHandshakeInvoker ¶
type ShowHandshakeInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHandshakeInvoker) Invoke ¶
func (i *ShowHandshakeInvoker) Invoke() (*model.ShowHandshakeResponse, error)
type ShowOrganizationInvoker ¶
type ShowOrganizationInvoker struct {
*invoker.BaseInvoker
}
func (*ShowOrganizationInvoker) Invoke ¶
func (i *ShowOrganizationInvoker) Invoke() (*model.ShowOrganizationResponse, error)
type ShowOrganizationalUnitInvoker ¶
type ShowOrganizationalUnitInvoker struct {
*invoker.BaseInvoker
}
func (*ShowOrganizationalUnitInvoker) Invoke ¶
func (i *ShowOrganizationalUnitInvoker) Invoke() (*model.ShowOrganizationalUnitResponse, error)
type ShowPolicyInvoker ¶
type ShowPolicyInvoker struct {
*invoker.BaseInvoker
}
func (*ShowPolicyInvoker) Invoke ¶
func (i *ShowPolicyInvoker) Invoke() (*model.ShowPolicyResponse, error)
type ShowResourceInstancesCountInvoker ¶
type ShowResourceInstancesCountInvoker struct {
*invoker.BaseInvoker
}
func (*ShowResourceInstancesCountInvoker) Invoke ¶
func (i *ShowResourceInstancesCountInvoker) Invoke() (*model.ShowResourceInstancesCountResponse, error)
type TagResourceInvoker ¶
type TagResourceInvoker struct {
*invoker.BaseInvoker
}
func (*TagResourceInvoker) Invoke ¶
func (i *TagResourceInvoker) Invoke() (*model.TagResourceResponse, error)
type UntagResourceInvoker ¶
type UntagResourceInvoker struct {
*invoker.BaseInvoker
}
func (*UntagResourceInvoker) Invoke ¶
func (i *UntagResourceInvoker) Invoke() (*model.UntagResourceResponse, error)
type UpdateOrganizationalUnitInvoker ¶
type UpdateOrganizationalUnitInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateOrganizationalUnitInvoker) Invoke ¶
func (i *UpdateOrganizationalUnitInvoker) Invoke() (*model.UpdateOrganizationalUnitResponse, error)
type UpdatePolicyInvoker ¶
type UpdatePolicyInvoker struct {
*invoker.BaseInvoker
}
func (*UpdatePolicyInvoker) Invoke ¶
func (i *UpdatePolicyInvoker) Invoke() (*model.UpdatePolicyResponse, error)