Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AcceptInvitationFailedDetail
- type AcceptInvitationFailedDetails
- type AcceptResourceShareInvitationRequest
- type AcceptResourceShareInvitationResponse
- type AssociateResourceSharePermissionRequest
- type AssociateResourceSharePermissionResponse
- type AssociateResourceShareRequest
- type AssociateResourceShareResources
- type AssociateResourceShareResponse
- type AssociateResourceShareTargetProperties
- type AssociationFailedDetail
- type AssociationFailedDetails
- type ChangeResourceGroupRequest
- type ChangeResourceGroupResponse
- type CheckSharingWithResourceDirectoryStatusRequest
- type CheckSharingWithResourceDirectoryStatusResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AcceptResourceShareInvitation(request *AcceptResourceShareInvitationRequest) (response *AcceptResourceShareInvitationResponse, err error)
- func (client *Client) AcceptResourceShareInvitationWithCallback(request *AcceptResourceShareInvitationRequest, ...) <-chan int
- func (client *Client) AcceptResourceShareInvitationWithChan(request *AcceptResourceShareInvitationRequest) (<-chan *AcceptResourceShareInvitationResponse, <-chan error)
- func (client *Client) AssociateResourceShare(request *AssociateResourceShareRequest) (response *AssociateResourceShareResponse, err error)
- func (client *Client) AssociateResourceSharePermission(request *AssociateResourceSharePermissionRequest) (response *AssociateResourceSharePermissionResponse, err error)
- func (client *Client) AssociateResourceSharePermissionWithCallback(request *AssociateResourceSharePermissionRequest, ...) <-chan int
- func (client *Client) AssociateResourceSharePermissionWithChan(request *AssociateResourceSharePermissionRequest) (<-chan *AssociateResourceSharePermissionResponse, <-chan error)
- func (client *Client) AssociateResourceShareWithCallback(request *AssociateResourceShareRequest, ...) <-chan int
- func (client *Client) AssociateResourceShareWithChan(request *AssociateResourceShareRequest) (<-chan *AssociateResourceShareResponse, <-chan error)
- func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
- func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, ...) <-chan int
- func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error)
- func (client *Client) CheckSharingWithResourceDirectoryStatus(request *CheckSharingWithResourceDirectoryStatusRequest) (response *CheckSharingWithResourceDirectoryStatusResponse, err error)
- func (client *Client) CheckSharingWithResourceDirectoryStatusWithCallback(request *CheckSharingWithResourceDirectoryStatusRequest, ...) <-chan int
- func (client *Client) CheckSharingWithResourceDirectoryStatusWithChan(request *CheckSharingWithResourceDirectoryStatusRequest) (<-chan *CheckSharingWithResourceDirectoryStatusResponse, <-chan error)
- func (client *Client) CreateResourceShare(request *CreateResourceShareRequest) (response *CreateResourceShareResponse, err error)
- func (client *Client) CreateResourceShareWithCallback(request *CreateResourceShareRequest, ...) <-chan int
- func (client *Client) CreateResourceShareWithChan(request *CreateResourceShareRequest) (<-chan *CreateResourceShareResponse, <-chan error)
- func (client *Client) DeleteResourceShare(request *DeleteResourceShareRequest) (response *DeleteResourceShareResponse, err error)
- func (client *Client) DeleteResourceShareWithCallback(request *DeleteResourceShareRequest, ...) <-chan int
- func (client *Client) DeleteResourceShareWithChan(request *DeleteResourceShareRequest) (<-chan *DeleteResourceShareResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DisassociateResourceShare(request *DisassociateResourceShareRequest) (response *DisassociateResourceShareResponse, err error)
- func (client *Client) DisassociateResourceSharePermission(request *DisassociateResourceSharePermissionRequest) (response *DisassociateResourceSharePermissionResponse, err error)
- func (client *Client) DisassociateResourceSharePermissionWithCallback(request *DisassociateResourceSharePermissionRequest, ...) <-chan int
- func (client *Client) DisassociateResourceSharePermissionWithChan(request *DisassociateResourceSharePermissionRequest) (<-chan *DisassociateResourceSharePermissionResponse, <-chan error)
- func (client *Client) DisassociateResourceShareWithCallback(request *DisassociateResourceShareRequest, ...) <-chan int
- func (client *Client) DisassociateResourceShareWithChan(request *DisassociateResourceShareRequest) (<-chan *DisassociateResourceShareResponse, <-chan error)
- func (client *Client) EnableSharingWithResourceDirectory(request *EnableSharingWithResourceDirectoryRequest) (response *EnableSharingWithResourceDirectoryResponse, err error)
- func (client *Client) EnableSharingWithResourceDirectoryWithCallback(request *EnableSharingWithResourceDirectoryRequest, ...) <-chan int
- func (client *Client) EnableSharingWithResourceDirectoryWithChan(request *EnableSharingWithResourceDirectoryRequest) (<-chan *EnableSharingWithResourceDirectoryResponse, <-chan error)
- func (client *Client) GetPermission(request *GetPermissionRequest) (response *GetPermissionResponse, err error)
- func (client *Client) GetPermissionWithCallback(request *GetPermissionRequest, ...) <-chan int
- func (client *Client) GetPermissionWithChan(request *GetPermissionRequest) (<-chan *GetPermissionResponse, <-chan error)
- func (client *Client) ListPermissionVersions(request *ListPermissionVersionsRequest) (response *ListPermissionVersionsResponse, err error)
- func (client *Client) ListPermissionVersionsWithCallback(request *ListPermissionVersionsRequest, ...) <-chan int
- func (client *Client) ListPermissionVersionsWithChan(request *ListPermissionVersionsRequest) (<-chan *ListPermissionVersionsResponse, <-chan error)
- func (client *Client) ListPermissions(request *ListPermissionsRequest) (response *ListPermissionsResponse, err error)
- func (client *Client) ListPermissionsWithCallback(request *ListPermissionsRequest, ...) <-chan int
- func (client *Client) ListPermissionsWithChan(request *ListPermissionsRequest) (<-chan *ListPermissionsResponse, <-chan error)
- func (client *Client) ListResourceShareAssociations(request *ListResourceShareAssociationsRequest) (response *ListResourceShareAssociationsResponse, err error)
- func (client *Client) ListResourceShareAssociationsWithCallback(request *ListResourceShareAssociationsRequest, ...) <-chan int
- func (client *Client) ListResourceShareAssociationsWithChan(request *ListResourceShareAssociationsRequest) (<-chan *ListResourceShareAssociationsResponse, <-chan error)
- func (client *Client) ListResourceShareInvitations(request *ListResourceShareInvitationsRequest) (response *ListResourceShareInvitationsResponse, err error)
- func (client *Client) ListResourceShareInvitationsWithCallback(request *ListResourceShareInvitationsRequest, ...) <-chan int
- func (client *Client) ListResourceShareInvitationsWithChan(request *ListResourceShareInvitationsRequest) (<-chan *ListResourceShareInvitationsResponse, <-chan error)
- func (client *Client) ListResourceSharePermissions(request *ListResourceSharePermissionsRequest) (response *ListResourceSharePermissionsResponse, err error)
- func (client *Client) ListResourceSharePermissionsWithCallback(request *ListResourceSharePermissionsRequest, ...) <-chan int
- func (client *Client) ListResourceSharePermissionsWithChan(request *ListResourceSharePermissionsRequest) (<-chan *ListResourceSharePermissionsResponse, <-chan error)
- func (client *Client) ListResourceShares(request *ListResourceSharesRequest) (response *ListResourceSharesResponse, err error)
- func (client *Client) ListResourceSharesWithCallback(request *ListResourceSharesRequest, ...) <-chan int
- func (client *Client) ListResourceSharesWithChan(request *ListResourceSharesRequest) (<-chan *ListResourceSharesResponse, <-chan error)
- func (client *Client) ListSharedResources(request *ListSharedResourcesRequest) (response *ListSharedResourcesResponse, err error)
- func (client *Client) ListSharedResourcesWithCallback(request *ListSharedResourcesRequest, ...) <-chan int
- func (client *Client) ListSharedResourcesWithChan(request *ListSharedResourcesRequest) (<-chan *ListSharedResourcesResponse, <-chan error)
- func (client *Client) ListSharedTargets(request *ListSharedTargetsRequest) (response *ListSharedTargetsResponse, err error)
- func (client *Client) ListSharedTargetsWithCallback(request *ListSharedTargetsRequest, ...) <-chan int
- func (client *Client) ListSharedTargetsWithChan(request *ListSharedTargetsRequest) (<-chan *ListSharedTargetsResponse, <-chan error)
- func (client *Client) RejectResourceShareInvitation(request *RejectResourceShareInvitationRequest) (response *RejectResourceShareInvitationResponse, err error)
- func (client *Client) RejectResourceShareInvitationWithCallback(request *RejectResourceShareInvitationRequest, ...) <-chan int
- func (client *Client) RejectResourceShareInvitationWithChan(request *RejectResourceShareInvitationRequest) (<-chan *RejectResourceShareInvitationResponse, <-chan error)
- func (client *Client) UpdateResourceShare(request *UpdateResourceShareRequest) (response *UpdateResourceShareResponse, err error)
- func (client *Client) UpdateResourceShareWithCallback(request *UpdateResourceShareRequest, ...) <-chan int
- func (client *Client) UpdateResourceShareWithChan(request *UpdateResourceShareRequest) (<-chan *UpdateResourceShareResponse, <-chan error)
- type CreateResourceShareRequest
- type CreateResourceShareResources
- type CreateResourceShareResponse
- type CreateResourceShareTargetProperties
- type DeleteResourceShareRequest
- type DeleteResourceShareResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DisassociateResourceSharePermissionRequest
- type DisassociateResourceSharePermissionResponse
- type DisassociateResourceShareRequest
- type DisassociateResourceShareResources
- type DisassociateResourceShareResponse
- type EnableSharingWithResourceDirectoryRequest
- type EnableSharingWithResourceDirectoryResponse
- type GetPermissionRequest
- type GetPermissionResponse
- type InvitationFailedDetail
- type InvitationFailedDetails
- type ListPermissionVersionsRequest
- type ListPermissionVersionsResponse
- type ListPermissionsRequest
- type ListPermissionsResponse
- type ListResourceShareAssociationsRequest
- type ListResourceShareAssociationsResponse
- type ListResourceShareInvitationsRequest
- type ListResourceShareInvitationsResponse
- type ListResourceSharePermissionsRequest
- type ListResourceSharePermissionsResponse
- type ListResourceSharesRequest
- type ListResourceSharesResponse
- type ListSharedResourcesRequest
- type ListSharedResourcesResponse
- type ListSharedTargetsRequest
- type ListSharedTargetsResponse
- type Permission
- type PermissionsInListPermissionVersions
- type PermissionsInListPermissions
- type PermissionsInListResourceSharePermissions
- type Region
- type Regions
- type RejectResourceShareInvitationRequest
- type RejectResourceShareInvitationResponse
- type ResourceShare
- type ResourceShareAssociation
- type ResourceShareAssociationsInAssociateResourceShare
- type ResourceShareAssociationsInDisassociateResourceShare
- type ResourceShareAssociationsInListResourceShareAssociations
- type ResourceShareInvitation
- type ResourceShareInvitations
- type ResourceShares
- type SharedResource
- type SharedResources
- type SharedTarget
- type SharedTargets
- type UpdateResourceShareRequest
- type UpdateResourceShareResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AcceptInvitationFailedDetail ¶
type AcceptInvitationFailedDetail struct { Status string `json:"Status" xml:"Status"` StatusMessage string `json:"StatusMessage" xml:"StatusMessage"` AssociateType string `json:"AssociateType" xml:"AssociateType"` ResourceId string `json:"ResourceId" xml:"ResourceId"` ResourceType string `json:"ResourceType" xml:"ResourceType"` }
AcceptInvitationFailedDetail is a nested struct in resourcesharing response
type AcceptInvitationFailedDetails ¶
type AcceptInvitationFailedDetails struct {
AcceptInvitationFailedDetail []AcceptInvitationFailedDetail `json:"AcceptInvitationFailedDetail" xml:"AcceptInvitationFailedDetail"`
}
AcceptInvitationFailedDetails is a nested struct in resourcesharing response
type AcceptResourceShareInvitationRequest ¶
type AcceptResourceShareInvitationRequest struct {}
AcceptResourceShareInvitationRequest is the request struct for api AcceptResourceShareInvitation
func CreateAcceptResourceShareInvitationRequest ¶
func CreateAcceptResourceShareInvitationRequest() (request *AcceptResourceShareInvitationRequest)
CreateAcceptResourceShareInvitationRequest creates a request to invoke AcceptResourceShareInvitation API
type AcceptResourceShareInvitationResponse ¶
type AcceptResourceShareInvitationResponse struct {}
AcceptResourceShareInvitationResponse is the response struct for api AcceptResourceShareInvitation
func CreateAcceptResourceShareInvitationResponse ¶
func CreateAcceptResourceShareInvitationResponse() (response *AcceptResourceShareInvitationResponse)
CreateAcceptResourceShareInvitationResponse creates a response to parse from AcceptResourceShareInvitation response
type AssociateResourceSharePermissionRequest ¶
type AssociateResourceSharePermissionRequest struct {}
AssociateResourceSharePermissionRequest is the request struct for api AssociateResourceSharePermission
func CreateAssociateResourceSharePermissionRequest ¶
func CreateAssociateResourceSharePermissionRequest() (request *AssociateResourceSharePermissionRequest)
CreateAssociateResourceSharePermissionRequest creates a request to invoke AssociateResourceSharePermission API
type AssociateResourceSharePermissionResponse ¶
type AssociateResourceSharePermissionResponse struct {}
AssociateResourceSharePermissionResponse is the response struct for api AssociateResourceSharePermission
func CreateAssociateResourceSharePermissionResponse ¶
func CreateAssociateResourceSharePermissionResponse() (response *AssociateResourceSharePermissionResponse)
CreateAssociateResourceSharePermissionResponse creates a response to parse from AssociateResourceSharePermission response
type AssociateResourceShareRequest ¶
type AssociateResourceShareRequest struct {}
AssociateResourceShareRequest is the request struct for api AssociateResourceShare
func CreateAssociateResourceShareRequest ¶
func CreateAssociateResourceShareRequest() (request *AssociateResourceShareRequest)
CreateAssociateResourceShareRequest creates a request to invoke AssociateResourceShare API
type AssociateResourceShareResources ¶
type AssociateResourceShareResources struct {}
AssociateResourceShareResources is a repeated param struct in AssociateResourceShareRequest
type AssociateResourceShareResponse ¶
type AssociateResourceShareResponse struct {}
AssociateResourceShareResponse is the response struct for api AssociateResourceShare
func CreateAssociateResourceShareResponse ¶
func CreateAssociateResourceShareResponse() (response *AssociateResourceShareResponse)
CreateAssociateResourceShareResponse creates a response to parse from AssociateResourceShare response
type AssociateResourceShareTargetProperties ¶
type AssociateResourceShareTargetProperties struct {}
AssociateResourceShareTargetProperties is a repeated param struct in AssociateResourceShareRequest
type AssociationFailedDetail ¶
type AssociationFailedDetail struct { Status string `json:"Status" xml:"Status"` StatusMessage string `json:"StatusMessage" xml:"StatusMessage"` AssociateType string `json:"AssociateType" xml:"AssociateType"` EntityId string `json:"EntityId" xml:"EntityId"` EntityType string `json:"EntityType" xml:"EntityType"` }
AssociationFailedDetail is a nested struct in resourcesharing response
type AssociationFailedDetails ¶
type AssociationFailedDetails struct {
AssociationFailedDetail []AssociationFailedDetail `json:"AssociationFailedDetail" xml:"AssociationFailedDetail"`
}
AssociationFailedDetails is a nested struct in resourcesharing response
type ChangeResourceGroupRequest ¶
type ChangeResourceGroupRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Query" name:"ResourceGroupId"` ResourceRegionId string `position:"Query" name:"ResourceRegionId"` ResourceId string `position:"Query" name:"ResourceId"` ResourceType string `position:"Query" name:"ResourceType"` Service string `position:"Query" name:"Service"` }
ChangeResourceGroupRequest is the request struct for api ChangeResourceGroup
func CreateChangeResourceGroupRequest ¶
func CreateChangeResourceGroupRequest() (request *ChangeResourceGroupRequest)
CreateChangeResourceGroupRequest creates a request to invoke ChangeResourceGroup API
type ChangeResourceGroupResponse ¶
type ChangeResourceGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ChangeResourceGroupResponse is the response struct for api ChangeResourceGroup
func CreateChangeResourceGroupResponse ¶
func CreateChangeResourceGroupResponse() (response *ChangeResourceGroupResponse)
CreateChangeResourceGroupResponse creates a response to parse from ChangeResourceGroup response
type CheckSharingWithResourceDirectoryStatusRequest ¶
type CheckSharingWithResourceDirectoryStatusRequest struct {
*requests.RpcRequest
}
CheckSharingWithResourceDirectoryStatusRequest is the request struct for api CheckSharingWithResourceDirectoryStatus
func CreateCheckSharingWithResourceDirectoryStatusRequest ¶
func CreateCheckSharingWithResourceDirectoryStatusRequest() (request *CheckSharingWithResourceDirectoryStatusRequest)
CreateCheckSharingWithResourceDirectoryStatusRequest creates a request to invoke CheckSharingWithResourceDirectoryStatus API
type CheckSharingWithResourceDirectoryStatusResponse ¶
type CheckSharingWithResourceDirectoryStatusResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` EnableSharingWithRd bool `json:"EnableSharingWithRd" xml:"EnableSharingWithRd"` }
CheckSharingWithResourceDirectoryStatusResponse is the response struct for api CheckSharingWithResourceDirectoryStatus
func CreateCheckSharingWithResourceDirectoryStatusResponse ¶
func CreateCheckSharingWithResourceDirectoryStatusResponse() (response *CheckSharingWithResourceDirectoryStatusResponse)
CreateCheckSharingWithResourceDirectoryStatusResponse creates a response to parse from CheckSharingWithResourceDirectoryStatus response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AcceptResourceShareInvitation ¶
func (client *Client) AcceptResourceShareInvitation(request *AcceptResourceShareInvitationRequest) (response *AcceptResourceShareInvitationResponse, err error)
AcceptResourceShareInvitation invokes the resourcesharing.AcceptResourceShareInvitation API synchronously
func (*Client) AcceptResourceShareInvitationWithCallback ¶
func (client *Client) AcceptResourceShareInvitationWithCallback(request *AcceptResourceShareInvitationRequest, callback func(response *AcceptResourceShareInvitationResponse, err error)) <-chan int
AcceptResourceShareInvitationWithCallback invokes the resourcesharing.AcceptResourceShareInvitation API asynchronously
func (*Client) AcceptResourceShareInvitationWithChan ¶
func (client *Client) AcceptResourceShareInvitationWithChan(request *AcceptResourceShareInvitationRequest) (<-chan *AcceptResourceShareInvitationResponse, <-chan error)
AcceptResourceShareInvitationWithChan invokes the resourcesharing.AcceptResourceShareInvitation API asynchronously
func (*Client) AssociateResourceShare ¶
func (client *Client) AssociateResourceShare(request *AssociateResourceShareRequest) (response *AssociateResourceShareResponse, err error)
AssociateResourceShare invokes the resourcesharing.AssociateResourceShare API synchronously
func (*Client) AssociateResourceSharePermission ¶
func (client *Client) AssociateResourceSharePermission(request *AssociateResourceSharePermissionRequest) (response *AssociateResourceSharePermissionResponse, err error)
AssociateResourceSharePermission invokes the resourcesharing.AssociateResourceSharePermission API synchronously
func (*Client) AssociateResourceSharePermissionWithCallback ¶
func (client *Client) AssociateResourceSharePermissionWithCallback(request *AssociateResourceSharePermissionRequest, callback func(response *AssociateResourceSharePermissionResponse, err error)) <-chan int
AssociateResourceSharePermissionWithCallback invokes the resourcesharing.AssociateResourceSharePermission API asynchronously
func (*Client) AssociateResourceSharePermissionWithChan ¶
func (client *Client) AssociateResourceSharePermissionWithChan(request *AssociateResourceSharePermissionRequest) (<-chan *AssociateResourceSharePermissionResponse, <-chan error)
AssociateResourceSharePermissionWithChan invokes the resourcesharing.AssociateResourceSharePermission API asynchronously
func (*Client) AssociateResourceShareWithCallback ¶
func (client *Client) AssociateResourceShareWithCallback(request *AssociateResourceShareRequest, callback func(response *AssociateResourceShareResponse, err error)) <-chan int
AssociateResourceShareWithCallback invokes the resourcesharing.AssociateResourceShare API asynchronously
func (*Client) AssociateResourceShareWithChan ¶
func (client *Client) AssociateResourceShareWithChan(request *AssociateResourceShareRequest) (<-chan *AssociateResourceShareResponse, <-chan error)
AssociateResourceShareWithChan invokes the resourcesharing.AssociateResourceShare API asynchronously
func (*Client) ChangeResourceGroup ¶
func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
ChangeResourceGroup invokes the resourcesharing.ChangeResourceGroup API synchronously
func (*Client) ChangeResourceGroupWithCallback ¶
func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, callback func(response *ChangeResourceGroupResponse, err error)) <-chan int
ChangeResourceGroupWithCallback invokes the resourcesharing.ChangeResourceGroup API asynchronously
func (*Client) ChangeResourceGroupWithChan ¶
func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error)
ChangeResourceGroupWithChan invokes the resourcesharing.ChangeResourceGroup API asynchronously
func (*Client) CheckSharingWithResourceDirectoryStatus ¶
func (client *Client) CheckSharingWithResourceDirectoryStatus(request *CheckSharingWithResourceDirectoryStatusRequest) (response *CheckSharingWithResourceDirectoryStatusResponse, err error)
CheckSharingWithResourceDirectoryStatus invokes the resourcesharing.CheckSharingWithResourceDirectoryStatus API synchronously
func (*Client) CheckSharingWithResourceDirectoryStatusWithCallback ¶
func (client *Client) CheckSharingWithResourceDirectoryStatusWithCallback(request *CheckSharingWithResourceDirectoryStatusRequest, callback func(response *CheckSharingWithResourceDirectoryStatusResponse, err error)) <-chan int
CheckSharingWithResourceDirectoryStatusWithCallback invokes the resourcesharing.CheckSharingWithResourceDirectoryStatus API asynchronously
func (*Client) CheckSharingWithResourceDirectoryStatusWithChan ¶
func (client *Client) CheckSharingWithResourceDirectoryStatusWithChan(request *CheckSharingWithResourceDirectoryStatusRequest) (<-chan *CheckSharingWithResourceDirectoryStatusResponse, <-chan error)
CheckSharingWithResourceDirectoryStatusWithChan invokes the resourcesharing.CheckSharingWithResourceDirectoryStatus API asynchronously
func (*Client) CreateResourceShare ¶
func (client *Client) CreateResourceShare(request *CreateResourceShareRequest) (response *CreateResourceShareResponse, err error)
CreateResourceShare invokes the resourcesharing.CreateResourceShare API synchronously
func (*Client) CreateResourceShareWithCallback ¶
func (client *Client) CreateResourceShareWithCallback(request *CreateResourceShareRequest, callback func(response *CreateResourceShareResponse, err error)) <-chan int
CreateResourceShareWithCallback invokes the resourcesharing.CreateResourceShare API asynchronously
func (*Client) CreateResourceShareWithChan ¶
func (client *Client) CreateResourceShareWithChan(request *CreateResourceShareRequest) (<-chan *CreateResourceShareResponse, <-chan error)
CreateResourceShareWithChan invokes the resourcesharing.CreateResourceShare API asynchronously
func (*Client) DeleteResourceShare ¶
func (client *Client) DeleteResourceShare(request *DeleteResourceShareRequest) (response *DeleteResourceShareResponse, err error)
DeleteResourceShare invokes the resourcesharing.DeleteResourceShare API synchronously
func (*Client) DeleteResourceShareWithCallback ¶
func (client *Client) DeleteResourceShareWithCallback(request *DeleteResourceShareRequest, callback func(response *DeleteResourceShareResponse, err error)) <-chan int
DeleteResourceShareWithCallback invokes the resourcesharing.DeleteResourceShare API asynchronously
func (*Client) DeleteResourceShareWithChan ¶
func (client *Client) DeleteResourceShareWithChan(request *DeleteResourceShareRequest) (<-chan *DeleteResourceShareResponse, <-chan error)
DeleteResourceShareWithChan invokes the resourcesharing.DeleteResourceShare API asynchronously
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the resourcesharing.DescribeRegions API synchronously
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the resourcesharing.DescribeRegions API asynchronously
func (*Client) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
DescribeRegionsWithChan invokes the resourcesharing.DescribeRegions API asynchronously
func (*Client) DisassociateResourceShare ¶
func (client *Client) DisassociateResourceShare(request *DisassociateResourceShareRequest) (response *DisassociateResourceShareResponse, err error)
DisassociateResourceShare invokes the resourcesharing.DisassociateResourceShare API synchronously
func (*Client) DisassociateResourceSharePermission ¶
func (client *Client) DisassociateResourceSharePermission(request *DisassociateResourceSharePermissionRequest) (response *DisassociateResourceSharePermissionResponse, err error)
DisassociateResourceSharePermission invokes the resourcesharing.DisassociateResourceSharePermission API synchronously
func (*Client) DisassociateResourceSharePermissionWithCallback ¶
func (client *Client) DisassociateResourceSharePermissionWithCallback(request *DisassociateResourceSharePermissionRequest, callback func(response *DisassociateResourceSharePermissionResponse, err error)) <-chan int
DisassociateResourceSharePermissionWithCallback invokes the resourcesharing.DisassociateResourceSharePermission API asynchronously
func (*Client) DisassociateResourceSharePermissionWithChan ¶
func (client *Client) DisassociateResourceSharePermissionWithChan(request *DisassociateResourceSharePermissionRequest) (<-chan *DisassociateResourceSharePermissionResponse, <-chan error)
DisassociateResourceSharePermissionWithChan invokes the resourcesharing.DisassociateResourceSharePermission API asynchronously
func (*Client) DisassociateResourceShareWithCallback ¶
func (client *Client) DisassociateResourceShareWithCallback(request *DisassociateResourceShareRequest, callback func(response *DisassociateResourceShareResponse, err error)) <-chan int
DisassociateResourceShareWithCallback invokes the resourcesharing.DisassociateResourceShare API asynchronously
func (*Client) DisassociateResourceShareWithChan ¶
func (client *Client) DisassociateResourceShareWithChan(request *DisassociateResourceShareRequest) (<-chan *DisassociateResourceShareResponse, <-chan error)
DisassociateResourceShareWithChan invokes the resourcesharing.DisassociateResourceShare API asynchronously
func (*Client) EnableSharingWithResourceDirectory ¶
func (client *Client) EnableSharingWithResourceDirectory(request *EnableSharingWithResourceDirectoryRequest) (response *EnableSharingWithResourceDirectoryResponse, err error)
EnableSharingWithResourceDirectory invokes the resourcesharing.EnableSharingWithResourceDirectory API synchronously
func (*Client) EnableSharingWithResourceDirectoryWithCallback ¶
func (client *Client) EnableSharingWithResourceDirectoryWithCallback(request *EnableSharingWithResourceDirectoryRequest, callback func(response *EnableSharingWithResourceDirectoryResponse, err error)) <-chan int
EnableSharingWithResourceDirectoryWithCallback invokes the resourcesharing.EnableSharingWithResourceDirectory API asynchronously
func (*Client) EnableSharingWithResourceDirectoryWithChan ¶
func (client *Client) EnableSharingWithResourceDirectoryWithChan(request *EnableSharingWithResourceDirectoryRequest) (<-chan *EnableSharingWithResourceDirectoryResponse, <-chan error)
EnableSharingWithResourceDirectoryWithChan invokes the resourcesharing.EnableSharingWithResourceDirectory API asynchronously
func (*Client) GetPermission ¶
func (client *Client) GetPermission(request *GetPermissionRequest) (response *GetPermissionResponse, err error)
GetPermission invokes the resourcesharing.GetPermission API synchronously
func (*Client) GetPermissionWithCallback ¶
func (client *Client) GetPermissionWithCallback(request *GetPermissionRequest, callback func(response *GetPermissionResponse, err error)) <-chan int
GetPermissionWithCallback invokes the resourcesharing.GetPermission API asynchronously
func (*Client) GetPermissionWithChan ¶
func (client *Client) GetPermissionWithChan(request *GetPermissionRequest) (<-chan *GetPermissionResponse, <-chan error)
GetPermissionWithChan invokes the resourcesharing.GetPermission API asynchronously
func (*Client) ListPermissionVersions ¶
func (client *Client) ListPermissionVersions(request *ListPermissionVersionsRequest) (response *ListPermissionVersionsResponse, err error)
ListPermissionVersions invokes the resourcesharing.ListPermissionVersions API synchronously
func (*Client) ListPermissionVersionsWithCallback ¶
func (client *Client) ListPermissionVersionsWithCallback(request *ListPermissionVersionsRequest, callback func(response *ListPermissionVersionsResponse, err error)) <-chan int
ListPermissionVersionsWithCallback invokes the resourcesharing.ListPermissionVersions API asynchronously
func (*Client) ListPermissionVersionsWithChan ¶
func (client *Client) ListPermissionVersionsWithChan(request *ListPermissionVersionsRequest) (<-chan *ListPermissionVersionsResponse, <-chan error)
ListPermissionVersionsWithChan invokes the resourcesharing.ListPermissionVersions API asynchronously
func (*Client) ListPermissions ¶
func (client *Client) ListPermissions(request *ListPermissionsRequest) (response *ListPermissionsResponse, err error)
ListPermissions invokes the resourcesharing.ListPermissions API synchronously
func (*Client) ListPermissionsWithCallback ¶
func (client *Client) ListPermissionsWithCallback(request *ListPermissionsRequest, callback func(response *ListPermissionsResponse, err error)) <-chan int
ListPermissionsWithCallback invokes the resourcesharing.ListPermissions API asynchronously
func (*Client) ListPermissionsWithChan ¶
func (client *Client) ListPermissionsWithChan(request *ListPermissionsRequest) (<-chan *ListPermissionsResponse, <-chan error)
ListPermissionsWithChan invokes the resourcesharing.ListPermissions API asynchronously
func (*Client) ListResourceShareAssociations ¶
func (client *Client) ListResourceShareAssociations(request *ListResourceShareAssociationsRequest) (response *ListResourceShareAssociationsResponse, err error)
ListResourceShareAssociations invokes the resourcesharing.ListResourceShareAssociations API synchronously
func (*Client) ListResourceShareAssociationsWithCallback ¶
func (client *Client) ListResourceShareAssociationsWithCallback(request *ListResourceShareAssociationsRequest, callback func(response *ListResourceShareAssociationsResponse, err error)) <-chan int
ListResourceShareAssociationsWithCallback invokes the resourcesharing.ListResourceShareAssociations API asynchronously
func (*Client) ListResourceShareAssociationsWithChan ¶
func (client *Client) ListResourceShareAssociationsWithChan(request *ListResourceShareAssociationsRequest) (<-chan *ListResourceShareAssociationsResponse, <-chan error)
ListResourceShareAssociationsWithChan invokes the resourcesharing.ListResourceShareAssociations API asynchronously
func (*Client) ListResourceShareInvitations ¶
func (client *Client) ListResourceShareInvitations(request *ListResourceShareInvitationsRequest) (response *ListResourceShareInvitationsResponse, err error)
ListResourceShareInvitations invokes the resourcesharing.ListResourceShareInvitations API synchronously
func (*Client) ListResourceShareInvitationsWithCallback ¶
func (client *Client) ListResourceShareInvitationsWithCallback(request *ListResourceShareInvitationsRequest, callback func(response *ListResourceShareInvitationsResponse, err error)) <-chan int
ListResourceShareInvitationsWithCallback invokes the resourcesharing.ListResourceShareInvitations API asynchronously
func (*Client) ListResourceShareInvitationsWithChan ¶
func (client *Client) ListResourceShareInvitationsWithChan(request *ListResourceShareInvitationsRequest) (<-chan *ListResourceShareInvitationsResponse, <-chan error)
ListResourceShareInvitationsWithChan invokes the resourcesharing.ListResourceShareInvitations API asynchronously
func (*Client) ListResourceSharePermissions ¶
func (client *Client) ListResourceSharePermissions(request *ListResourceSharePermissionsRequest) (response *ListResourceSharePermissionsResponse, err error)
ListResourceSharePermissions invokes the resourcesharing.ListResourceSharePermissions API synchronously
func (*Client) ListResourceSharePermissionsWithCallback ¶
func (client *Client) ListResourceSharePermissionsWithCallback(request *ListResourceSharePermissionsRequest, callback func(response *ListResourceSharePermissionsResponse, err error)) <-chan int
ListResourceSharePermissionsWithCallback invokes the resourcesharing.ListResourceSharePermissions API asynchronously
func (*Client) ListResourceSharePermissionsWithChan ¶
func (client *Client) ListResourceSharePermissionsWithChan(request *ListResourceSharePermissionsRequest) (<-chan *ListResourceSharePermissionsResponse, <-chan error)
ListResourceSharePermissionsWithChan invokes the resourcesharing.ListResourceSharePermissions API asynchronously
func (*Client) ListResourceShares ¶
func (client *Client) ListResourceShares(request *ListResourceSharesRequest) (response *ListResourceSharesResponse, err error)
ListResourceShares invokes the resourcesharing.ListResourceShares API synchronously
func (*Client) ListResourceSharesWithCallback ¶
func (client *Client) ListResourceSharesWithCallback(request *ListResourceSharesRequest, callback func(response *ListResourceSharesResponse, err error)) <-chan int
ListResourceSharesWithCallback invokes the resourcesharing.ListResourceShares API asynchronously
func (*Client) ListResourceSharesWithChan ¶
func (client *Client) ListResourceSharesWithChan(request *ListResourceSharesRequest) (<-chan *ListResourceSharesResponse, <-chan error)
ListResourceSharesWithChan invokes the resourcesharing.ListResourceShares API asynchronously
func (*Client) ListSharedResources ¶
func (client *Client) ListSharedResources(request *ListSharedResourcesRequest) (response *ListSharedResourcesResponse, err error)
ListSharedResources invokes the resourcesharing.ListSharedResources API synchronously
func (*Client) ListSharedResourcesWithCallback ¶
func (client *Client) ListSharedResourcesWithCallback(request *ListSharedResourcesRequest, callback func(response *ListSharedResourcesResponse, err error)) <-chan int
ListSharedResourcesWithCallback invokes the resourcesharing.ListSharedResources API asynchronously
func (*Client) ListSharedResourcesWithChan ¶
func (client *Client) ListSharedResourcesWithChan(request *ListSharedResourcesRequest) (<-chan *ListSharedResourcesResponse, <-chan error)
ListSharedResourcesWithChan invokes the resourcesharing.ListSharedResources API asynchronously
func (*Client) ListSharedTargets ¶
func (client *Client) ListSharedTargets(request *ListSharedTargetsRequest) (response *ListSharedTargetsResponse, err error)
ListSharedTargets invokes the resourcesharing.ListSharedTargets API synchronously
func (*Client) ListSharedTargetsWithCallback ¶
func (client *Client) ListSharedTargetsWithCallback(request *ListSharedTargetsRequest, callback func(response *ListSharedTargetsResponse, err error)) <-chan int
ListSharedTargetsWithCallback invokes the resourcesharing.ListSharedTargets API asynchronously
func (*Client) ListSharedTargetsWithChan ¶
func (client *Client) ListSharedTargetsWithChan(request *ListSharedTargetsRequest) (<-chan *ListSharedTargetsResponse, <-chan error)
ListSharedTargetsWithChan invokes the resourcesharing.ListSharedTargets API asynchronously
func (*Client) RejectResourceShareInvitation ¶
func (client *Client) RejectResourceShareInvitation(request *RejectResourceShareInvitationRequest) (response *RejectResourceShareInvitationResponse, err error)
RejectResourceShareInvitation invokes the resourcesharing.RejectResourceShareInvitation API synchronously
func (*Client) RejectResourceShareInvitationWithCallback ¶
func (client *Client) RejectResourceShareInvitationWithCallback(request *RejectResourceShareInvitationRequest, callback func(response *RejectResourceShareInvitationResponse, err error)) <-chan int
RejectResourceShareInvitationWithCallback invokes the resourcesharing.RejectResourceShareInvitation API asynchronously
func (*Client) RejectResourceShareInvitationWithChan ¶
func (client *Client) RejectResourceShareInvitationWithChan(request *RejectResourceShareInvitationRequest) (<-chan *RejectResourceShareInvitationResponse, <-chan error)
RejectResourceShareInvitationWithChan invokes the resourcesharing.RejectResourceShareInvitation API asynchronously
func (*Client) UpdateResourceShare ¶
func (client *Client) UpdateResourceShare(request *UpdateResourceShareRequest) (response *UpdateResourceShareResponse, err error)
UpdateResourceShare invokes the resourcesharing.UpdateResourceShare API synchronously
func (*Client) UpdateResourceShareWithCallback ¶
func (client *Client) UpdateResourceShareWithCallback(request *UpdateResourceShareRequest, callback func(response *UpdateResourceShareResponse, err error)) <-chan int
UpdateResourceShareWithCallback invokes the resourcesharing.UpdateResourceShare API asynchronously
func (*Client) UpdateResourceShareWithChan ¶
func (client *Client) UpdateResourceShareWithChan(request *UpdateResourceShareRequest) (<-chan *UpdateResourceShareResponse, <-chan error)
UpdateResourceShareWithChan invokes the resourcesharing.UpdateResourceShare API asynchronously
type CreateResourceShareRequest ¶
type CreateResourceShareRequest struct {}
CreateResourceShareRequest is the request struct for api CreateResourceShare
func CreateCreateResourceShareRequest ¶
func CreateCreateResourceShareRequest() (request *CreateResourceShareRequest)
CreateCreateResourceShareRequest creates a request to invoke CreateResourceShare API
type CreateResourceShareResources ¶
type CreateResourceShareResources struct {}
CreateResourceShareResources is a repeated param struct in CreateResourceShareRequest
type CreateResourceShareResponse ¶
type CreateResourceShareResponse struct {}
CreateResourceShareResponse is the response struct for api CreateResourceShare
func CreateCreateResourceShareResponse ¶
func CreateCreateResourceShareResponse() (response *CreateResourceShareResponse)
CreateCreateResourceShareResponse creates a response to parse from CreateResourceShare response
type CreateResourceShareTargetProperties ¶
type CreateResourceShareTargetProperties struct {}
CreateResourceShareTargetProperties is a repeated param struct in CreateResourceShareRequest
type DeleteResourceShareRequest ¶
type DeleteResourceShareRequest struct {}
DeleteResourceShareRequest is the request struct for api DeleteResourceShare
func CreateDeleteResourceShareRequest ¶
func CreateDeleteResourceShareRequest() (request *DeleteResourceShareRequest)
CreateDeleteResourceShareRequest creates a request to invoke DeleteResourceShare API
type DeleteResourceShareResponse ¶
type DeleteResourceShareResponse struct {}
DeleteResourceShareResponse is the response struct for api DeleteResourceShare
func CreateDeleteResourceShareResponse ¶
func CreateDeleteResourceShareResponse() (response *DeleteResourceShareResponse)
CreateDeleteResourceShareResponse creates a response to parse from DeleteResourceShare response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct { *requests.RpcRequest AcceptLanguage string `position:"Query" name:"AcceptLanguage"` }
DescribeRegionsRequest is the request struct for api DescribeRegions
func CreateDescribeRegionsRequest ¶
func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)
CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Regions []Region `json:"Regions" xml:"Regions"` }
DescribeRegionsResponse is the response struct for api DescribeRegions
func CreateDescribeRegionsResponse ¶
func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)
CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
type DisassociateResourceSharePermissionRequest ¶
type DisassociateResourceSharePermissionRequest struct {}
DisassociateResourceSharePermissionRequest is the request struct for api DisassociateResourceSharePermission
func CreateDisassociateResourceSharePermissionRequest ¶
func CreateDisassociateResourceSharePermissionRequest() (request *DisassociateResourceSharePermissionRequest)
CreateDisassociateResourceSharePermissionRequest creates a request to invoke DisassociateResourceSharePermission API
type DisassociateResourceSharePermissionResponse ¶
type DisassociateResourceSharePermissionResponse struct {}
DisassociateResourceSharePermissionResponse is the response struct for api DisassociateResourceSharePermission
func CreateDisassociateResourceSharePermissionResponse ¶
func CreateDisassociateResourceSharePermissionResponse() (response *DisassociateResourceSharePermissionResponse)
CreateDisassociateResourceSharePermissionResponse creates a response to parse from DisassociateResourceSharePermission response
type DisassociateResourceShareRequest ¶
type DisassociateResourceShareRequest struct {}
DisassociateResourceShareRequest is the request struct for api DisassociateResourceShare
func CreateDisassociateResourceShareRequest ¶
func CreateDisassociateResourceShareRequest() (request *DisassociateResourceShareRequest)
CreateDisassociateResourceShareRequest creates a request to invoke DisassociateResourceShare API
type DisassociateResourceShareResources ¶
type DisassociateResourceShareResources struct {}
DisassociateResourceShareResources is a repeated param struct in DisassociateResourceShareRequest
type DisassociateResourceShareResponse ¶
type DisassociateResourceShareResponse struct {}
DisassociateResourceShareResponse is the response struct for api DisassociateResourceShare
func CreateDisassociateResourceShareResponse ¶
func CreateDisassociateResourceShareResponse() (response *DisassociateResourceShareResponse)
CreateDisassociateResourceShareResponse creates a response to parse from DisassociateResourceShare response
type EnableSharingWithResourceDirectoryRequest ¶
type EnableSharingWithResourceDirectoryRequest struct {
*requests.RpcRequest
}
EnableSharingWithResourceDirectoryRequest is the request struct for api EnableSharingWithResourceDirectory
func CreateEnableSharingWithResourceDirectoryRequest ¶
func CreateEnableSharingWithResourceDirectoryRequest() (request *EnableSharingWithResourceDirectoryRequest)
CreateEnableSharingWithResourceDirectoryRequest creates a request to invoke EnableSharingWithResourceDirectory API
type EnableSharingWithResourceDirectoryResponse ¶
type EnableSharingWithResourceDirectoryResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
EnableSharingWithResourceDirectoryResponse is the response struct for api EnableSharingWithResourceDirectory
func CreateEnableSharingWithResourceDirectoryResponse ¶
func CreateEnableSharingWithResourceDirectoryResponse() (response *EnableSharingWithResourceDirectoryResponse)
CreateEnableSharingWithResourceDirectoryResponse creates a response to parse from EnableSharingWithResourceDirectory response
type GetPermissionRequest ¶
type GetPermissionRequest struct { *requests.RpcRequest PermissionVersion string `position:"Query" name:"PermissionVersion"` PermissionName string `position:"Query" name:"PermissionName"` }
GetPermissionRequest is the request struct for api GetPermission
func CreateGetPermissionRequest ¶
func CreateGetPermissionRequest() (request *GetPermissionRequest)
CreateGetPermissionRequest creates a request to invoke GetPermission API
type GetPermissionResponse ¶
type GetPermissionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Permission Permission `json:"Permission" xml:"Permission"` }
GetPermissionResponse is the response struct for api GetPermission
func CreateGetPermissionResponse ¶
func CreateGetPermissionResponse() (response *GetPermissionResponse)
CreateGetPermissionResponse creates a response to parse from GetPermission response
type InvitationFailedDetail ¶
type InvitationFailedDetail struct { Status string `json:"Status" xml:"Status"` StatusMessage string `json:"StatusMessage" xml:"StatusMessage"` AssociateType string `json:"AssociateType" xml:"AssociateType"` ResourceId string `json:"ResourceId" xml:"ResourceId"` ResourceType string `json:"ResourceType" xml:"ResourceType"` }
InvitationFailedDetail is a nested struct in resourcesharing response
type InvitationFailedDetails ¶
type InvitationFailedDetails struct {
InvitationFailedDetail []InvitationFailedDetail `json:"InvitationFailedDetail" xml:"InvitationFailedDetail"`
}
InvitationFailedDetails is a nested struct in resourcesharing response
type ListPermissionVersionsRequest ¶
type ListPermissionVersionsRequest struct { *requests.RpcRequest PermissionName string `position:"Query" name:"PermissionName"` NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListPermissionVersionsRequest is the request struct for api ListPermissionVersions
func CreateListPermissionVersionsRequest ¶
func CreateListPermissionVersionsRequest() (request *ListPermissionVersionsRequest)
CreateListPermissionVersionsRequest creates a request to invoke ListPermissionVersions API
type ListPermissionVersionsResponse ¶
type ListPermissionVersionsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Permissions []Permission `json:"Permissions" xml:"Permissions"` }
ListPermissionVersionsResponse is the response struct for api ListPermissionVersions
func CreateListPermissionVersionsResponse ¶
func CreateListPermissionVersionsResponse() (response *ListPermissionVersionsResponse)
CreateListPermissionVersionsResponse creates a response to parse from ListPermissionVersions response
type ListPermissionsRequest ¶
type ListPermissionsRequest struct { *requests.RpcRequest ResourceType string `position:"Query" name:"ResourceType"` NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListPermissionsRequest is the request struct for api ListPermissions
func CreateListPermissionsRequest ¶
func CreateListPermissionsRequest() (request *ListPermissionsRequest)
CreateListPermissionsRequest creates a request to invoke ListPermissions API
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Permissions []Permission `json:"Permissions" xml:"Permissions"` }
ListPermissionsResponse is the response struct for api ListPermissions
func CreateListPermissionsResponse ¶
func CreateListPermissionsResponse() (response *ListPermissionsResponse)
CreateListPermissionsResponse creates a response to parse from ListPermissions response
type ListResourceShareAssociationsRequest ¶
type ListResourceShareAssociationsRequest struct {}
ListResourceShareAssociationsRequest is the request struct for api ListResourceShareAssociations
func CreateListResourceShareAssociationsRequest ¶
func CreateListResourceShareAssociationsRequest() (request *ListResourceShareAssociationsRequest)
CreateListResourceShareAssociationsRequest creates a request to invoke ListResourceShareAssociations API
type ListResourceShareAssociationsResponse ¶
type ListResourceShareAssociationsResponse struct {}
ListResourceShareAssociationsResponse is the response struct for api ListResourceShareAssociations
func CreateListResourceShareAssociationsResponse ¶
func CreateListResourceShareAssociationsResponse() (response *ListResourceShareAssociationsResponse)
CreateListResourceShareAssociationsResponse creates a response to parse from ListResourceShareAssociations response
type ListResourceShareInvitationsRequest ¶
type ListResourceShareInvitationsRequest struct {}
ListResourceShareInvitationsRequest is the request struct for api ListResourceShareInvitations
func CreateListResourceShareInvitationsRequest ¶
func CreateListResourceShareInvitationsRequest() (request *ListResourceShareInvitationsRequest)
CreateListResourceShareInvitationsRequest creates a request to invoke ListResourceShareInvitations API
type ListResourceShareInvitationsResponse ¶
type ListResourceShareInvitationsResponse struct {}
ListResourceShareInvitationsResponse is the response struct for api ListResourceShareInvitations
func CreateListResourceShareInvitationsResponse ¶
func CreateListResourceShareInvitationsResponse() (response *ListResourceShareInvitationsResponse)
CreateListResourceShareInvitationsResponse creates a response to parse from ListResourceShareInvitations response
type ListResourceSharePermissionsRequest ¶
type ListResourceSharePermissionsRequest struct {}
ListResourceSharePermissionsRequest is the request struct for api ListResourceSharePermissions
func CreateListResourceSharePermissionsRequest ¶
func CreateListResourceSharePermissionsRequest() (request *ListResourceSharePermissionsRequest)
CreateListResourceSharePermissionsRequest creates a request to invoke ListResourceSharePermissions API
type ListResourceSharePermissionsResponse ¶
type ListResourceSharePermissionsResponse struct {}
ListResourceSharePermissionsResponse is the response struct for api ListResourceSharePermissions
func CreateListResourceSharePermissionsResponse ¶
func CreateListResourceSharePermissionsResponse() (response *ListResourceSharePermissionsResponse)
CreateListResourceSharePermissionsResponse creates a response to parse from ListResourceSharePermissions response
type ListResourceSharesRequest ¶
type ListResourceSharesRequest struct {}
ListResourceSharesRequest is the request struct for api ListResourceShares
func CreateListResourceSharesRequest ¶
func CreateListResourceSharesRequest() (request *ListResourceSharesRequest)
CreateListResourceSharesRequest creates a request to invoke ListResourceShares API
type ListResourceSharesResponse ¶
type ListResourceSharesResponse struct {}
ListResourceSharesResponse is the response struct for api ListResourceShares
func CreateListResourceSharesResponse ¶
func CreateListResourceSharesResponse() (response *ListResourceSharesResponse)
CreateListResourceSharesResponse creates a response to parse from ListResourceShares response
type ListSharedResourcesRequest ¶
type ListSharedResourcesRequest struct {}
ListSharedResourcesRequest is the request struct for api ListSharedResources
func CreateListSharedResourcesRequest ¶
func CreateListSharedResourcesRequest() (request *ListSharedResourcesRequest)
CreateListSharedResourcesRequest creates a request to invoke ListSharedResources API
type ListSharedResourcesResponse ¶
type ListSharedResourcesResponse struct {}
ListSharedResourcesResponse is the response struct for api ListSharedResources
func CreateListSharedResourcesResponse ¶
func CreateListSharedResourcesResponse() (response *ListSharedResourcesResponse)
CreateListSharedResourcesResponse creates a response to parse from ListSharedResources response
type ListSharedTargetsRequest ¶
type ListSharedTargetsRequest struct {}
ListSharedTargetsRequest is the request struct for api ListSharedTargets
func CreateListSharedTargetsRequest ¶
func CreateListSharedTargetsRequest() (request *ListSharedTargetsRequest)
CreateListSharedTargetsRequest creates a request to invoke ListSharedTargets API
type ListSharedTargetsResponse ¶
type ListSharedTargetsResponse struct {}
ListSharedTargetsResponse is the response struct for api ListSharedTargets
func CreateListSharedTargetsResponse ¶
func CreateListSharedTargetsResponse() (response *ListSharedTargetsResponse)
CreateListSharedTargetsResponse creates a response to parse from ListSharedTargets response
type Permission ¶
type Permission struct { Permission string `json:"Permission" xml:"Permission"` ResourceType string `json:"ResourceType" xml:"ResourceType"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` CreateTime string `json:"CreateTime" xml:"CreateTime"` PermissionName string `json:"PermissionName" xml:"PermissionName"` DefaultPermission bool `json:"DefaultPermission" xml:"DefaultPermission"` PermissionVersion string `json:"PermissionVersion" xml:"PermissionVersion"` DefaultVersion bool `json:"DefaultVersion" xml:"DefaultVersion"` }
Permission is a nested struct in resourcesharing response
type PermissionsInListPermissionVersions ¶
type PermissionsInListPermissionVersions struct {
Permission []Permission `json:"Permission" xml:"Permission"`
}
PermissionsInListPermissionVersions is a nested struct in resourcesharing response
type PermissionsInListPermissions ¶
type PermissionsInListPermissions struct {
Permission []Permission `json:"Permission" xml:"Permission"`
}
PermissionsInListPermissions is a nested struct in resourcesharing response
type PermissionsInListResourceSharePermissions ¶
type PermissionsInListResourceSharePermissions struct {
}PermissionsInListResourceSharePermissions is a nested struct in resourcesharing response
type Region ¶
type Region struct { RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"` LocalName string `json:"LocalName" xml:"LocalName"` RegionId string `json:"RegionId" xml:"RegionId"` }
Region is a nested struct in resourcesharing response
type Regions ¶
type Regions struct {
Region []Region `json:"Region" xml:"Region"`
}
Regions is a nested struct in resourcesharing response
type RejectResourceShareInvitationRequest ¶
type RejectResourceShareInvitationRequest struct {}
RejectResourceShareInvitationRequest is the request struct for api RejectResourceShareInvitation
func CreateRejectResourceShareInvitationRequest ¶
func CreateRejectResourceShareInvitationRequest() (request *RejectResourceShareInvitationRequest)
CreateRejectResourceShareInvitationRequest creates a request to invoke RejectResourceShareInvitation API
type RejectResourceShareInvitationResponse ¶
type RejectResourceShareInvitationResponse struct {}
RejectResourceShareInvitationResponse is the response struct for api RejectResourceShareInvitation
func CreateRejectResourceShareInvitationResponse ¶
func CreateRejectResourceShareInvitationResponse() (response *RejectResourceShareInvitationResponse)
CreateRejectResourceShareInvitationResponse creates a response to parse from RejectResourceShareInvitation response
type ResourceShare ¶
type ResourceShare struct {}
ResourceShare is a nested struct in resourcesharing response
type ResourceShareAssociation ¶
type ResourceShareAssociation struct {}
ResourceShareAssociation is a nested struct in resourcesharing response
type ResourceShareAssociationsInAssociateResourceShare ¶
type ResourceShareAssociationsInAssociateResourceShare struct {
}ResourceShareAssociationsInAssociateResourceShare is a nested struct in resourcesharing response
type ResourceShareAssociationsInDisassociateResourceShare ¶
type ResourceShareAssociationsInDisassociateResourceShare struct {
}ResourceShareAssociationsInDisassociateResourceShare is a nested struct in resourcesharing response
type ResourceShareAssociationsInListResourceShareAssociations ¶
type ResourceShareAssociationsInListResourceShareAssociations struct {
}ResourceShareAssociationsInListResourceShareAssociations is a nested struct in resourcesharing response
type ResourceShareInvitation ¶
type ResourceShareInvitation struct {}
ResourceShareInvitation is a nested struct in resourcesharing response
type ResourceShareInvitations ¶
type ResourceShareInvitations struct {
}ResourceShareInvitations is a nested struct in resourcesharing response
type ResourceShares ¶
type ResourceShares struct {
}ResourceShares is a nested struct in resourcesharing response
type SharedResource ¶
type SharedResource struct {}
SharedResource is a nested struct in resourcesharing response
type SharedResources ¶
type SharedResources struct {
}SharedResources is a nested struct in resourcesharing response
type SharedTarget ¶
type SharedTarget struct {}
SharedTarget is a nested struct in resourcesharing response
type SharedTargets ¶
type SharedTargets struct {
}SharedTargets is a nested struct in resourcesharing response
type UpdateResourceShareRequest ¶
type UpdateResourceShareRequest struct {}
UpdateResourceShareRequest is the request struct for api UpdateResourceShare
func CreateUpdateResourceShareRequest ¶
func CreateUpdateResourceShareRequest() (request *UpdateResourceShareRequest)
CreateUpdateResourceShareRequest creates a request to invoke UpdateResourceShare API
type UpdateResourceShareResponse ¶
type UpdateResourceShareResponse struct {}
UpdateResourceShareResponse is the response struct for api UpdateResourceShare
func CreateUpdateResourceShareResponse ¶
func CreateUpdateResourceShareResponse() (response *UpdateResourceShareResponse)
CreateUpdateResourceShareResponse creates a response to parse from UpdateResourceShare response
Source Files ¶
- accept_resource_share_invitation.go
- associate_resource_share.go
- associate_resource_share_permission.go
- change_resource_group.go
- check_sharing_with_resource_directory_status.go
- client.go
- create_resource_share.go
- delete_resource_share.go
- describe_regions.go
- disassociate_resource_share.go
- disassociate_resource_share_permission.go
- enable_sharing_with_resource_directory.go
- endpoint.go
- get_permission.go
- list_permission_versions.go
- list_permissions.go
- list_resource_share_associations.go
- list_resource_share_invitations.go
- list_resource_share_permissions.go
- list_resource_shares.go
- list_shared_resources.go
- list_shared_targets.go
- reject_resource_share_invitation.go
- struct_accept_invitation_failed_detail.go
- struct_accept_invitation_failed_details.go
- struct_association_failed_detail.go
- struct_association_failed_details.go
- struct_invitation_failed_detail.go
- struct_invitation_failed_details.go
- struct_permission.go
- struct_permissions_in_list_permission_versions.go
- struct_permissions_in_list_permissions.go
- struct_permissions_in_list_resource_share_permissions.go
- struct_region.go
- struct_regions.go
- struct_resource_share.go
- struct_resource_share_association.go
- struct_resource_share_associations_in_associate_resource_share.go
- struct_resource_share_associations_in_disassociate_resource_share.go
- struct_resource_share_associations_in_list_resource_share_associations.go
- struct_resource_share_invitation.go
- struct_resource_share_invitations.go
- struct_resource_shares.go
- struct_shared_resource.go
- struct_shared_resources.go
- struct_shared_target.go
- struct_shared_targets.go
- update_resource_share.go