resourcesharing

package
v1.62.720 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

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 {
	*requests.RpcRequest
	ResourceShareInvitationId string `position:"Query" name:"ResourceShareInvitationId"`
}

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 {
	*responses.BaseResponse
	RequestId               string                  `json:"RequestId" xml:"RequestId"`
	ResourceShareInvitation ResourceShareInvitation `json:"ResourceShareInvitation" xml:"ResourceShareInvitation"`
}

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 {
	*requests.RpcRequest
	Replace         requests.Boolean `position:"Query" name:"Replace"`
	PermissionName  string           `position:"Query" name:"PermissionName"`
	ResourceShareId string           `position:"Query" name:"ResourceShareId"`
}

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 {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

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 {
	*requests.RpcRequest
	Resources        *[]AssociateResourceShareResources        `position:"Query" name:"Resources"  type:"Repeated"`
	Targets          *[]string                                 `position:"Query" name:"Targets"  type:"Repeated"`
	ResourceShareId  string                                    `position:"Query" name:"ResourceShareId"`
	PermissionNames  *[]string                                 `position:"Query" name:"PermissionNames"  type:"Repeated"`
	TargetProperties *[]AssociateResourceShareTargetProperties `position:"Query" name:"TargetProperties"  type:"Repeated"`
}

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 {
	ResourceId   string `name:"ResourceId"`
	ResourceType string `name:"ResourceType"`
}

AssociateResourceShareResources is a repeated param struct in AssociateResourceShareRequest

type AssociateResourceShareResponse

type AssociateResourceShareResponse struct {
	*responses.BaseResponse
	RequestId                 string                     `json:"RequestId" xml:"RequestId"`
	ResourceShareAssociations []ResourceShareAssociation `json:"ResourceShareAssociations" xml:"ResourceShareAssociations"`
}

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 {
	TargetId string `name:"TargetId"`
	Property string `name:"Property"`
}

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

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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 {
	*requests.RpcRequest
	ResourceShareName    string                                 `position:"Query" name:"ResourceShareName"`
	Targets              *[]string                              `position:"Query" name:"Targets"  type:"Repeated"`
	ResourceGroupId      string                                 `position:"Query" name:"ResourceGroupId"`
	Resources            *[]CreateResourceShareResources        `position:"Query" name:"Resources"  type:"Repeated"`
	AllowExternalTargets requests.Boolean                       `position:"Query" name:"AllowExternalTargets"`
	PermissionNames      *[]string                              `position:"Query" name:"PermissionNames"  type:"Repeated"`
	TargetProperties     *[]CreateResourceShareTargetProperties `position:"Query" name:"TargetProperties"  type:"Repeated"`
}

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 {
	ResourceId   string `name:"ResourceId"`
	ResourceType string `name:"ResourceType"`
}

CreateResourceShareResources is a repeated param struct in CreateResourceShareRequest

type CreateResourceShareResponse

type CreateResourceShareResponse struct {
	*responses.BaseResponse
	RequestId     string        `json:"RequestId" xml:"RequestId"`
	ResourceShare ResourceShare `json:"ResourceShare" xml:"ResourceShare"`
}

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 {
	TargetId string `name:"TargetId"`
	Property string `name:"Property"`
}

CreateResourceShareTargetProperties is a repeated param struct in CreateResourceShareRequest

type DeleteResourceShareRequest

type DeleteResourceShareRequest struct {
	*requests.RpcRequest
	ResourceShareId string `position:"Query" name:"ResourceShareId"`
}

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 {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

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 {
	*requests.RpcRequest
	PermissionName  string `position:"Query" name:"PermissionName"`
	ResourceShareId string `position:"Query" name:"ResourceShareId"`
}

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 {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

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 {
	*requests.RpcRequest
	ResourceOwner   string                                `position:"Query" name:"ResourceOwner"`
	Resources       *[]DisassociateResourceShareResources `position:"Query" name:"Resources"  type:"Repeated"`
	Targets         *[]string                             `position:"Query" name:"Targets"  type:"Repeated"`
	ResourceShareId string                                `position:"Query" name:"ResourceShareId"`
}

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 {
	ResourceId   string `name:"ResourceId"`
	ResourceType string `name:"ResourceType"`
}

DisassociateResourceShareResources is a repeated param struct in DisassociateResourceShareRequest

type DisassociateResourceShareResponse

type DisassociateResourceShareResponse struct {
	*responses.BaseResponse
	RequestId                 string                     `json:"RequestId" xml:"RequestId"`
	ResourceShareAssociations []ResourceShareAssociation `json:"ResourceShareAssociations" xml:"ResourceShareAssociations"`
}

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 {
	*requests.RpcRequest
	NextToken         string           `position:"Query" name:"NextToken"`
	ResourceShareIds  *[]string        `position:"Query" name:"ResourceShareIds"  type:"Repeated"`
	ResourceId        string           `position:"Query" name:"ResourceId"`
	Target            string           `position:"Query" name:"Target"`
	AssociationType   string           `position:"Query" name:"AssociationType"`
	AssociationStatus string           `position:"Query" name:"AssociationStatus"`
	MaxResults        requests.Integer `position:"Query" name:"MaxResults"`
}

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 {
	*responses.BaseResponse
	NextToken                 string                     `json:"NextToken" xml:"NextToken"`
	RequestId                 string                     `json:"RequestId" xml:"RequestId"`
	ResourceShareAssociations []ResourceShareAssociation `json:"ResourceShareAssociations" xml:"ResourceShareAssociations"`
}

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 {
	*requests.RpcRequest
	ResourceShareInvitationIds *[]string        `position:"Query" name:"ResourceShareInvitationIds"  type:"Repeated"`
	NextToken                  string           `position:"Query" name:"NextToken"`
	ResourceShareIds           *[]string        `position:"Query" name:"ResourceShareIds"  type:"Repeated"`
	MaxResults                 requests.Integer `position:"Query" name:"MaxResults"`
}

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 {
	*responses.BaseResponse
	NextToken                string                    `json:"NextToken" xml:"NextToken"`
	RequestId                string                    `json:"RequestId" xml:"RequestId"`
	ResourceShareInvitations []ResourceShareInvitation `json:"ResourceShareInvitations" xml:"ResourceShareInvitations"`
}

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 {
	*requests.RpcRequest
	ResourceOwner   string           `position:"Query" name:"ResourceOwner"`
	NextToken       string           `position:"Query" name:"NextToken"`
	MaxResults      requests.Integer `position:"Query" name:"MaxResults"`
	ResourceShareId string           `position:"Query" name:"ResourceShareId"`
}

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 {
	*responses.BaseResponse
	NextToken   string       `json:"NextToken" xml:"NextToken"`
	RequestId   string       `json:"RequestId" xml:"RequestId"`
	Permissions []Permission `json:"Permissions" xml:"Permissions"`
}

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 {
	*requests.RpcRequest
	ResourceShareName   string           `position:"Query" name:"ResourceShareName"`
	PermissionName      string           `position:"Query" name:"PermissionName"`
	ResourceGroupId     string           `position:"Query" name:"ResourceGroupId"`
	NextToken           string           `position:"Query" name:"NextToken"`
	ResourceShareIds    *[]string        `position:"Query" name:"ResourceShareIds"  type:"Repeated"`
	ResourceOwner       string           `position:"Query" name:"ResourceOwner"`
	ResourceShareStatus string           `position:"Query" name:"ResourceShareStatus"`
	MaxResults          requests.Integer `position:"Query" name:"MaxResults"`
}

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 {
	*responses.BaseResponse
	NextToken      string          `json:"NextToken" xml:"NextToken"`
	RequestId      string          `json:"RequestId" xml:"RequestId"`
	ResourceShares []ResourceShare `json:"ResourceShares" xml:"ResourceShares"`
}

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 {
	*requests.RpcRequest
	NextToken        string           `position:"Query" name:"NextToken"`
	ResourceShareIds *[]string        `position:"Query" name:"ResourceShareIds"  type:"Repeated"`
	ResourceOwner    string           `position:"Query" name:"ResourceOwner"`
	ResourceType     string           `position:"Query" name:"ResourceType"`
	Target           string           `position:"Query" name:"Target"`
	MaxResults       requests.Integer `position:"Query" name:"MaxResults"`
	ResourceIds      *[]string        `position:"Query" name:"ResourceIds"  type:"Repeated"`
}

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 {
	*responses.BaseResponse
	NextToken       string           `json:"NextToken" xml:"NextToken"`
	RequestId       string           `json:"RequestId" xml:"RequestId"`
	SharedResources []SharedResource `json:"SharedResources" xml:"SharedResources"`
}

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 {
	*requests.RpcRequest
	Targets          *[]string        `position:"Query" name:"Targets"  type:"Repeated"`
	NextToken        string           `position:"Query" name:"NextToken"`
	ResourceShareIds *[]string        `position:"Query" name:"ResourceShareIds"  type:"Repeated"`
	ResourceId       string           `position:"Query" name:"ResourceId"`
	ResourceOwner    string           `position:"Query" name:"ResourceOwner"`
	ResourceType     string           `position:"Query" name:"ResourceType"`
	MaxResults       requests.Integer `position:"Query" name:"MaxResults"`
}

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 {
	*responses.BaseResponse
	NextToken     string         `json:"NextToken" xml:"NextToken"`
	RequestId     string         `json:"RequestId" xml:"RequestId"`
	SharedTargets []SharedTarget `json:"SharedTargets" xml:"SharedTargets"`
}

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 {
	Permission []Permission `json:"Permission" xml:"Permission"`
}

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 {
	*requests.RpcRequest
	ResourceShareInvitationId string `position:"Query" name:"ResourceShareInvitationId"`
}

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 {
	*responses.BaseResponse
	RequestId               string                  `json:"RequestId" xml:"RequestId"`
	ResourceShareInvitation ResourceShareInvitation `json:"ResourceShareInvitation" xml:"ResourceShareInvitation"`
}

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 {
	ResourceShareId      string `json:"ResourceShareId" xml:"ResourceShareId"`
	AllowExternalTargets bool   `json:"AllowExternalTargets" xml:"AllowExternalTargets"`
	UpdateTime           string `json:"UpdateTime" xml:"UpdateTime"`
	ResourceGroupId      string `json:"ResourceGroupId" xml:"ResourceGroupId"`
	ResourceShareOwner   string `json:"ResourceShareOwner" xml:"ResourceShareOwner"`
	CreateTime           string `json:"CreateTime" xml:"CreateTime"`
	ResourceShareStatus  string `json:"ResourceShareStatus" xml:"ResourceShareStatus"`
	ResourceShareName    string `json:"ResourceShareName" xml:"ResourceShareName"`
}

ResourceShare is a nested struct in resourcesharing response

type ResourceShareAssociation

type ResourceShareAssociation struct {
	AssociationStatusMessage string                    `json:"AssociationStatusMessage" xml:"AssociationStatusMessage"`
	EntityId                 string                    `json:"EntityId" xml:"EntityId"`
	ResourceShareId          string                    `json:"ResourceShareId" xml:"ResourceShareId"`
	AssociationStatus        string                    `json:"AssociationStatus" xml:"AssociationStatus"`
	UpdateTime               string                    `json:"UpdateTime" xml:"UpdateTime"`
	EntityType               string                    `json:"EntityType" xml:"EntityType"`
	AssociationType          string                    `json:"AssociationType" xml:"AssociationType"`
	CreateTime               string                    `json:"CreateTime" xml:"CreateTime"`
	External                 bool                      `json:"External" xml:"External"`
	TargetProperty           string                    `json:"TargetProperty" xml:"TargetProperty"`
	ResourceShareName        string                    `json:"ResourceShareName" xml:"ResourceShareName"`
	AssociationFailedDetails []AssociationFailedDetail `json:"AssociationFailedDetails" xml:"AssociationFailedDetails"`
}

ResourceShareAssociation is a nested struct in resourcesharing response

type ResourceShareAssociationsInAssociateResourceShare

type ResourceShareAssociationsInAssociateResourceShare struct {
	ResourceShareAssociation []ResourceShareAssociation `json:"ResourceShareAssociation" xml:"ResourceShareAssociation"`
}

ResourceShareAssociationsInAssociateResourceShare is a nested struct in resourcesharing response

type ResourceShareAssociationsInDisassociateResourceShare

type ResourceShareAssociationsInDisassociateResourceShare struct {
	ResourceShareAssociation []ResourceShareAssociation `json:"ResourceShareAssociation" xml:"ResourceShareAssociation"`
}

ResourceShareAssociationsInDisassociateResourceShare is a nested struct in resourcesharing response

type ResourceShareAssociationsInListResourceShareAssociations

type ResourceShareAssociationsInListResourceShareAssociations struct {
	ResourceShareAssociation []ResourceShareAssociation `json:"ResourceShareAssociation" xml:"ResourceShareAssociation"`
}

ResourceShareAssociationsInListResourceShareAssociations is a nested struct in resourcesharing response

type ResourceShareInvitation

type ResourceShareInvitation struct {
	ResourceShareInvitationId     string                         `json:"ResourceShareInvitationId" xml:"ResourceShareInvitationId"`
	ResourceShareId               string                         `json:"ResourceShareId" xml:"ResourceShareId"`
	ReceiverAccountId             string                         `json:"ReceiverAccountId" xml:"ReceiverAccountId"`
	CreateTime                    string                         `json:"CreateTime" xml:"CreateTime"`
	SenderAccountId               string                         `json:"SenderAccountId" xml:"SenderAccountId"`
	Status                        string                         `json:"Status" xml:"Status"`
	ResourceShareName             string                         `json:"ResourceShareName" xml:"ResourceShareName"`
	AcceptInvitationFailedDetails []AcceptInvitationFailedDetail `json:"AcceptInvitationFailedDetails" xml:"AcceptInvitationFailedDetails"`
	InvitationFailedDetails       []InvitationFailedDetail       `json:"InvitationFailedDetails" xml:"InvitationFailedDetails"`
}

ResourceShareInvitation is a nested struct in resourcesharing response

type ResourceShareInvitations

type ResourceShareInvitations struct {
	ResourceShareInvitation []ResourceShareInvitation `json:"ResourceShareInvitation" xml:"ResourceShareInvitation"`
}

ResourceShareInvitations is a nested struct in resourcesharing response

type ResourceShares

type ResourceShares struct {
	ResourceShare []ResourceShare `json:"ResourceShare" xml:"ResourceShare"`
}

ResourceShares is a nested struct in resourcesharing response

type SharedResource

type SharedResource struct {
	UpdateTime            string `json:"UpdateTime" xml:"UpdateTime"`
	ResourceType          string `json:"ResourceType" xml:"ResourceType"`
	CreateTime            string `json:"CreateTime" xml:"CreateTime"`
	ResourceShareId       string `json:"ResourceShareId" xml:"ResourceShareId"`
	ResourceId            string `json:"ResourceId" xml:"ResourceId"`
	ResourceStatus        string `json:"ResourceStatus" xml:"ResourceStatus"`
	ResourceStatusMessage string `json:"ResourceStatusMessage" xml:"ResourceStatusMessage"`
}

SharedResource is a nested struct in resourcesharing response

type SharedResources

type SharedResources struct {
	SharedResource []SharedResource `json:"SharedResource" xml:"SharedResource"`
}

SharedResources is a nested struct in resourcesharing response

type SharedTarget

type SharedTarget struct {
	TargetId        string `json:"TargetId" xml:"TargetId"`
	UpdateTime      string `json:"UpdateTime" xml:"UpdateTime"`
	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
	ResourceShareId string `json:"ResourceShareId" xml:"ResourceShareId"`
	External        bool   `json:"External" xml:"External"`
	TargetProperty  string `json:"TargetProperty" xml:"TargetProperty"`
}

SharedTarget is a nested struct in resourcesharing response

type SharedTargets

type SharedTargets struct {
	SharedTarget []SharedTarget `json:"SharedTarget" xml:"SharedTarget"`
}

SharedTargets is a nested struct in resourcesharing response

type UpdateResourceShareRequest

type UpdateResourceShareRequest struct {
	*requests.RpcRequest
	ResourceShareName    string           `position:"Query" name:"ResourceShareName"`
	ResourceShareId      string           `position:"Query" name:"ResourceShareId"`
	AllowExternalTargets requests.Boolean `position:"Query" name:"AllowExternalTargets"`
}

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 {
	*responses.BaseResponse
	RequestId     string        `json:"RequestId" xml:"RequestId"`
	ResourceShare ResourceShare `json:"ResourceShare" xml:"ResourceShare"`
}

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

Jump to

Keyboard shortcuts

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