Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AcceptVpcPeerConnectionRequest
- type AcceptVpcPeerConnectionResponse
- type AcceptingVpc
- 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) AcceptVpcPeerConnection(request *AcceptVpcPeerConnectionRequest) (response *AcceptVpcPeerConnectionResponse, err error)
- func (client *Client) AcceptVpcPeerConnectionWithCallback(request *AcceptVpcPeerConnectionRequest, ...) <-chan int
- func (client *Client) AcceptVpcPeerConnectionWithChan(request *AcceptVpcPeerConnectionRequest) (<-chan *AcceptVpcPeerConnectionResponse, <-chan error)
- func (client *Client) CreateVpcPeerConnection(request *CreateVpcPeerConnectionRequest) (response *CreateVpcPeerConnectionResponse, err error)
- func (client *Client) CreateVpcPeerConnectionWithCallback(request *CreateVpcPeerConnectionRequest, ...) <-chan int
- func (client *Client) CreateVpcPeerConnectionWithChan(request *CreateVpcPeerConnectionRequest) (<-chan *CreateVpcPeerConnectionResponse, <-chan error)
- func (client *Client) DeleteVpcPeerConnection(request *DeleteVpcPeerConnectionRequest) (response *DeleteVpcPeerConnectionResponse, err error)
- func (client *Client) DeleteVpcPeerConnectionWithCallback(request *DeleteVpcPeerConnectionRequest, ...) <-chan int
- func (client *Client) DeleteVpcPeerConnectionWithChan(request *DeleteVpcPeerConnectionRequest) (<-chan *DeleteVpcPeerConnectionResponse, <-chan error)
- func (client *Client) GetVpcPeerConnectionAttribute(request *GetVpcPeerConnectionAttributeRequest) (response *GetVpcPeerConnectionAttributeResponse, err error)
- func (client *Client) GetVpcPeerConnectionAttributeWithCallback(request *GetVpcPeerConnectionAttributeRequest, ...) <-chan int
- func (client *Client) GetVpcPeerConnectionAttributeWithChan(request *GetVpcPeerConnectionAttributeRequest) (<-chan *GetVpcPeerConnectionAttributeResponse, <-chan error)
- func (client *Client) ListVpcPeerConnections(request *ListVpcPeerConnectionsRequest) (response *ListVpcPeerConnectionsResponse, err error)
- func (client *Client) ListVpcPeerConnectionsWithCallback(request *ListVpcPeerConnectionsRequest, ...) <-chan int
- func (client *Client) ListVpcPeerConnectionsWithChan(request *ListVpcPeerConnectionsRequest) (<-chan *ListVpcPeerConnectionsResponse, <-chan error)
- func (client *Client) ModifyVpcPeerConnection(request *ModifyVpcPeerConnectionRequest) (response *ModifyVpcPeerConnectionResponse, err error)
- func (client *Client) ModifyVpcPeerConnectionWithCallback(request *ModifyVpcPeerConnectionRequest, ...) <-chan int
- func (client *Client) ModifyVpcPeerConnectionWithChan(request *ModifyVpcPeerConnectionRequest) (<-chan *ModifyVpcPeerConnectionResponse, <-chan error)
- func (client *Client) RejectVpcPeerConnection(request *RejectVpcPeerConnectionRequest) (response *RejectVpcPeerConnectionResponse, err error)
- func (client *Client) RejectVpcPeerConnectionWithCallback(request *RejectVpcPeerConnectionRequest, ...) <-chan int
- func (client *Client) RejectVpcPeerConnectionWithChan(request *RejectVpcPeerConnectionRequest) (<-chan *RejectVpcPeerConnectionResponse, <-chan error)
- type CreateVpcPeerConnectionRequest
- type CreateVpcPeerConnectionResponse
- type DeleteVpcPeerConnectionRequest
- type DeleteVpcPeerConnectionResponse
- type GetVpcPeerConnectionAttributeRequest
- type GetVpcPeerConnectionAttributeResponse
- type Ipv4CidrsInGetVpcPeerConnectionAttribute
- type Ipv4CidrsInListVpcPeerConnections
- type Ipv6CidrsInGetVpcPeerConnectionAttribute
- type Ipv6CidrsInListVpcPeerConnections
- type ListVpcPeerConnectionsRequest
- type ListVpcPeerConnectionsResponse
- type ListVpcPeerConnectionsTags
- type ModifyVpcPeerConnectionRequest
- type ModifyVpcPeerConnectionResponse
- type RejectVpcPeerConnectionRequest
- type RejectVpcPeerConnectionResponse
- type TagsInGetVpcPeerConnectionAttribute
- type TagsInListVpcPeerConnections
- type TagsItem
- type Vpc
- type VpcPeerConnects
- type VpcPeerConnectsItem
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
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 AcceptVpcPeerConnectionRequest ¶
type AcceptVpcPeerConnectionRequest struct { *requests.RpcRequest ClientToken string `position:"Body" name:"ClientToken"` Channel string `position:"Body" name:"Channel"` RequestContent string `position:"Body" name:"RequestContent"` DryRun requests.Boolean `position:"Body" name:"DryRun"` ResourceOwnerAccount string `position:"Body" name:"ResourceOwnerAccount"` InstanceId string `position:"Body" name:"InstanceId"` }
AcceptVpcPeerConnectionRequest is the request struct for api AcceptVpcPeerConnection
func CreateAcceptVpcPeerConnectionRequest ¶
func CreateAcceptVpcPeerConnectionRequest() (request *AcceptVpcPeerConnectionRequest)
CreateAcceptVpcPeerConnectionRequest creates a request to invoke AcceptVpcPeerConnection API
type AcceptVpcPeerConnectionResponse ¶
type AcceptVpcPeerConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
AcceptVpcPeerConnectionResponse is the response struct for api AcceptVpcPeerConnection
func CreateAcceptVpcPeerConnectionResponse ¶
func CreateAcceptVpcPeerConnectionResponse() (response *AcceptVpcPeerConnectionResponse)
CreateAcceptVpcPeerConnectionResponse creates a response to parse from AcceptVpcPeerConnection response
type AcceptingVpc ¶
type AcceptingVpc struct { VpcId string `json:"VpcId" xml:"VpcId"` Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"` Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"` }
AcceptingVpc is a nested struct in vpcpeer 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) AcceptVpcPeerConnection ¶
func (client *Client) AcceptVpcPeerConnection(request *AcceptVpcPeerConnectionRequest) (response *AcceptVpcPeerConnectionResponse, err error)
AcceptVpcPeerConnection invokes the vpcpeer.AcceptVpcPeerConnection API synchronously
func (*Client) AcceptVpcPeerConnectionWithCallback ¶
func (client *Client) AcceptVpcPeerConnectionWithCallback(request *AcceptVpcPeerConnectionRequest, callback func(response *AcceptVpcPeerConnectionResponse, err error)) <-chan int
AcceptVpcPeerConnectionWithCallback invokes the vpcpeer.AcceptVpcPeerConnection API asynchronously
func (*Client) AcceptVpcPeerConnectionWithChan ¶
func (client *Client) AcceptVpcPeerConnectionWithChan(request *AcceptVpcPeerConnectionRequest) (<-chan *AcceptVpcPeerConnectionResponse, <-chan error)
AcceptVpcPeerConnectionWithChan invokes the vpcpeer.AcceptVpcPeerConnection API asynchronously
func (*Client) CreateVpcPeerConnection ¶
func (client *Client) CreateVpcPeerConnection(request *CreateVpcPeerConnectionRequest) (response *CreateVpcPeerConnectionResponse, err error)
CreateVpcPeerConnection invokes the vpcpeer.CreateVpcPeerConnection API synchronously
func (*Client) CreateVpcPeerConnectionWithCallback ¶
func (client *Client) CreateVpcPeerConnectionWithCallback(request *CreateVpcPeerConnectionRequest, callback func(response *CreateVpcPeerConnectionResponse, err error)) <-chan int
CreateVpcPeerConnectionWithCallback invokes the vpcpeer.CreateVpcPeerConnection API asynchronously
func (*Client) CreateVpcPeerConnectionWithChan ¶
func (client *Client) CreateVpcPeerConnectionWithChan(request *CreateVpcPeerConnectionRequest) (<-chan *CreateVpcPeerConnectionResponse, <-chan error)
CreateVpcPeerConnectionWithChan invokes the vpcpeer.CreateVpcPeerConnection API asynchronously
func (*Client) DeleteVpcPeerConnection ¶
func (client *Client) DeleteVpcPeerConnection(request *DeleteVpcPeerConnectionRequest) (response *DeleteVpcPeerConnectionResponse, err error)
DeleteVpcPeerConnection invokes the vpcpeer.DeleteVpcPeerConnection API synchronously
func (*Client) DeleteVpcPeerConnectionWithCallback ¶
func (client *Client) DeleteVpcPeerConnectionWithCallback(request *DeleteVpcPeerConnectionRequest, callback func(response *DeleteVpcPeerConnectionResponse, err error)) <-chan int
DeleteVpcPeerConnectionWithCallback invokes the vpcpeer.DeleteVpcPeerConnection API asynchronously
func (*Client) DeleteVpcPeerConnectionWithChan ¶
func (client *Client) DeleteVpcPeerConnectionWithChan(request *DeleteVpcPeerConnectionRequest) (<-chan *DeleteVpcPeerConnectionResponse, <-chan error)
DeleteVpcPeerConnectionWithChan invokes the vpcpeer.DeleteVpcPeerConnection API asynchronously
func (*Client) GetVpcPeerConnectionAttribute ¶
func (client *Client) GetVpcPeerConnectionAttribute(request *GetVpcPeerConnectionAttributeRequest) (response *GetVpcPeerConnectionAttributeResponse, err error)
GetVpcPeerConnectionAttribute invokes the vpcpeer.GetVpcPeerConnectionAttribute API synchronously
func (*Client) GetVpcPeerConnectionAttributeWithCallback ¶
func (client *Client) GetVpcPeerConnectionAttributeWithCallback(request *GetVpcPeerConnectionAttributeRequest, callback func(response *GetVpcPeerConnectionAttributeResponse, err error)) <-chan int
GetVpcPeerConnectionAttributeWithCallback invokes the vpcpeer.GetVpcPeerConnectionAttribute API asynchronously
func (*Client) GetVpcPeerConnectionAttributeWithChan ¶
func (client *Client) GetVpcPeerConnectionAttributeWithChan(request *GetVpcPeerConnectionAttributeRequest) (<-chan *GetVpcPeerConnectionAttributeResponse, <-chan error)
GetVpcPeerConnectionAttributeWithChan invokes the vpcpeer.GetVpcPeerConnectionAttribute API asynchronously
func (*Client) ListVpcPeerConnections ¶
func (client *Client) ListVpcPeerConnections(request *ListVpcPeerConnectionsRequest) (response *ListVpcPeerConnectionsResponse, err error)
ListVpcPeerConnections invokes the vpcpeer.ListVpcPeerConnections API synchronously
func (*Client) ListVpcPeerConnectionsWithCallback ¶
func (client *Client) ListVpcPeerConnectionsWithCallback(request *ListVpcPeerConnectionsRequest, callback func(response *ListVpcPeerConnectionsResponse, err error)) <-chan int
ListVpcPeerConnectionsWithCallback invokes the vpcpeer.ListVpcPeerConnections API asynchronously
func (*Client) ListVpcPeerConnectionsWithChan ¶
func (client *Client) ListVpcPeerConnectionsWithChan(request *ListVpcPeerConnectionsRequest) (<-chan *ListVpcPeerConnectionsResponse, <-chan error)
ListVpcPeerConnectionsWithChan invokes the vpcpeer.ListVpcPeerConnections API asynchronously
func (*Client) ModifyVpcPeerConnection ¶
func (client *Client) ModifyVpcPeerConnection(request *ModifyVpcPeerConnectionRequest) (response *ModifyVpcPeerConnectionResponse, err error)
ModifyVpcPeerConnection invokes the vpcpeer.ModifyVpcPeerConnection API synchronously
func (*Client) ModifyVpcPeerConnectionWithCallback ¶
func (client *Client) ModifyVpcPeerConnectionWithCallback(request *ModifyVpcPeerConnectionRequest, callback func(response *ModifyVpcPeerConnectionResponse, err error)) <-chan int
ModifyVpcPeerConnectionWithCallback invokes the vpcpeer.ModifyVpcPeerConnection API asynchronously
func (*Client) ModifyVpcPeerConnectionWithChan ¶
func (client *Client) ModifyVpcPeerConnectionWithChan(request *ModifyVpcPeerConnectionRequest) (<-chan *ModifyVpcPeerConnectionResponse, <-chan error)
ModifyVpcPeerConnectionWithChan invokes the vpcpeer.ModifyVpcPeerConnection API asynchronously
func (*Client) RejectVpcPeerConnection ¶
func (client *Client) RejectVpcPeerConnection(request *RejectVpcPeerConnectionRequest) (response *RejectVpcPeerConnectionResponse, err error)
RejectVpcPeerConnection invokes the vpcpeer.RejectVpcPeerConnection API synchronously
func (*Client) RejectVpcPeerConnectionWithCallback ¶
func (client *Client) RejectVpcPeerConnectionWithCallback(request *RejectVpcPeerConnectionRequest, callback func(response *RejectVpcPeerConnectionResponse, err error)) <-chan int
RejectVpcPeerConnectionWithCallback invokes the vpcpeer.RejectVpcPeerConnection API asynchronously
func (*Client) RejectVpcPeerConnectionWithChan ¶
func (client *Client) RejectVpcPeerConnectionWithChan(request *RejectVpcPeerConnectionRequest) (<-chan *RejectVpcPeerConnectionResponse, <-chan error)
RejectVpcPeerConnectionWithChan invokes the vpcpeer.RejectVpcPeerConnection API asynchronously
type CreateVpcPeerConnectionRequest ¶
type CreateVpcPeerConnectionRequest struct { *requests.RpcRequest ClientToken string `position:"Body" name:"ClientToken"` Channel string `position:"Body" name:"Channel"` Description string `position:"Body" name:"Description"` AcceptingAliUid requests.Integer `position:"Body" name:"AcceptingAliUid"` AcceptingRegionId string `position:"Body" name:"AcceptingRegionId"` DryRun requests.Boolean `position:"Body" name:"DryRun"` AcceptingVpcId string `position:"Body" name:"AcceptingVpcId"` VpcId string `position:"Body" name:"VpcId"` Name string `position:"Body" name:"Name"` }
CreateVpcPeerConnectionRequest is the request struct for api CreateVpcPeerConnection
func CreateCreateVpcPeerConnectionRequest ¶
func CreateCreateVpcPeerConnectionRequest() (request *CreateVpcPeerConnectionRequest)
CreateCreateVpcPeerConnectionRequest creates a request to invoke CreateVpcPeerConnection API
type CreateVpcPeerConnectionResponse ¶
type CreateVpcPeerConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` }
CreateVpcPeerConnectionResponse is the response struct for api CreateVpcPeerConnection
func CreateCreateVpcPeerConnectionResponse ¶
func CreateCreateVpcPeerConnectionResponse() (response *CreateVpcPeerConnectionResponse)
CreateCreateVpcPeerConnectionResponse creates a response to parse from CreateVpcPeerConnection response
type DeleteVpcPeerConnectionRequest ¶
type DeleteVpcPeerConnectionRequest struct { *requests.RpcRequest ClientToken string `position:"Body" name:"ClientToken"` Channel string `position:"Body" name:"Channel"` DryRun requests.Boolean `position:"Body" name:"DryRun"` InstanceId string `position:"Body" name:"InstanceId"` Force requests.Boolean `position:"Body" name:"Force"` }
DeleteVpcPeerConnectionRequest is the request struct for api DeleteVpcPeerConnection
func CreateDeleteVpcPeerConnectionRequest ¶
func CreateDeleteVpcPeerConnectionRequest() (request *DeleteVpcPeerConnectionRequest)
CreateDeleteVpcPeerConnectionRequest creates a request to invoke DeleteVpcPeerConnection API
type DeleteVpcPeerConnectionResponse ¶
type DeleteVpcPeerConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteVpcPeerConnectionResponse is the response struct for api DeleteVpcPeerConnection
func CreateDeleteVpcPeerConnectionResponse ¶
func CreateDeleteVpcPeerConnectionResponse() (response *DeleteVpcPeerConnectionResponse)
CreateDeleteVpcPeerConnectionResponse creates a response to parse from DeleteVpcPeerConnection response
type GetVpcPeerConnectionAttributeRequest ¶
type GetVpcPeerConnectionAttributeRequest struct { *requests.RpcRequest Channel string `position:"Body" name:"Channel"` RequestContent string `position:"Body" name:"RequestContent"` ResourceOwnerAccount string `position:"Body" name:"ResourceOwnerAccount"` InstanceId string `position:"Body" name:"InstanceId"` }
GetVpcPeerConnectionAttributeRequest is the request struct for api GetVpcPeerConnectionAttribute
func CreateGetVpcPeerConnectionAttributeRequest ¶
func CreateGetVpcPeerConnectionAttributeRequest() (request *GetVpcPeerConnectionAttributeRequest)
CreateGetVpcPeerConnectionAttributeRequest creates a request to invoke GetVpcPeerConnectionAttribute API
type GetVpcPeerConnectionAttributeResponse ¶
type GetVpcPeerConnectionAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` GmtModified string `json:"GmtModified" xml:"GmtModified"` Name string `json:"Name" xml:"Name"` Description string `json:"Description" xml:"Description"` OwnerId int64 `json:"OwnerId" xml:"OwnerId"` AcceptingOwnerUid int64 `json:"AcceptingOwnerUid" xml:"AcceptingOwnerUid"` RegionId string `json:"RegionId" xml:"RegionId"` AcceptingRegionId string `json:"AcceptingRegionId" xml:"AcceptingRegionId"` Bandwidth int `json:"Bandwidth" xml:"Bandwidth"` Status string `json:"Status" xml:"Status"` BizStatus string `json:"BizStatus" xml:"BizStatus"` GmtExpired string `json:"GmtExpired" xml:"GmtExpired"` ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` Vpc Vpc `json:"Vpc" xml:"Vpc"` AcceptingVpc AcceptingVpc `json:"AcceptingVpc" xml:"AcceptingVpc"` Tags []TagsItem `json:"Tags" xml:"Tags"` }
GetVpcPeerConnectionAttributeResponse is the response struct for api GetVpcPeerConnectionAttribute
func CreateGetVpcPeerConnectionAttributeResponse ¶
func CreateGetVpcPeerConnectionAttributeResponse() (response *GetVpcPeerConnectionAttributeResponse)
CreateGetVpcPeerConnectionAttributeResponse creates a response to parse from GetVpcPeerConnectionAttribute response
type Ipv4CidrsInGetVpcPeerConnectionAttribute ¶
type Ipv4CidrsInGetVpcPeerConnectionAttribute struct {
Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"`
}
Ipv4CidrsInGetVpcPeerConnectionAttribute is a nested struct in vpcpeer response
type Ipv4CidrsInListVpcPeerConnections ¶
type Ipv4CidrsInListVpcPeerConnections struct {
Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"`
}
Ipv4CidrsInListVpcPeerConnections is a nested struct in vpcpeer response
type Ipv6CidrsInGetVpcPeerConnectionAttribute ¶
type Ipv6CidrsInGetVpcPeerConnectionAttribute struct {
Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"`
}
Ipv6CidrsInGetVpcPeerConnectionAttribute is a nested struct in vpcpeer response
type Ipv6CidrsInListVpcPeerConnections ¶
type Ipv6CidrsInListVpcPeerConnections struct {
Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"`
}
Ipv6CidrsInListVpcPeerConnections is a nested struct in vpcpeer response
type ListVpcPeerConnectionsRequest ¶
type ListVpcPeerConnectionsRequest struct { *requests.RpcRequest Channel string `position:"Body" name:"Channel"` NextToken string `position:"Body" name:"NextToken"` Tags *[]ListVpcPeerConnectionsTags `position:"Query" name:"Tags" type:"Repeated"` InstanceId string `position:"Body" name:"InstanceId"` VpcId *[]string `position:"Body" name:"VpcId" type:"Repeated"` Name string `position:"Body" name:"Name"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` }
ListVpcPeerConnectionsRequest is the request struct for api ListVpcPeerConnections
func CreateListVpcPeerConnectionsRequest ¶
func CreateListVpcPeerConnectionsRequest() (request *ListVpcPeerConnectionsRequest)
CreateListVpcPeerConnectionsRequest creates a request to invoke ListVpcPeerConnections API
type ListVpcPeerConnectionsResponse ¶
type ListVpcPeerConnectionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` MaxResults int `json:"MaxResults" xml:"MaxResults"` NextToken string `json:"NextToken" xml:"NextToken"` VpcPeerConnects []VpcPeerConnectsItem `json:"VpcPeerConnects" xml:"VpcPeerConnects"` }
ListVpcPeerConnectionsResponse is the response struct for api ListVpcPeerConnections
func CreateListVpcPeerConnectionsResponse ¶
func CreateListVpcPeerConnectionsResponse() (response *ListVpcPeerConnectionsResponse)
CreateListVpcPeerConnectionsResponse creates a response to parse from ListVpcPeerConnections response
type ListVpcPeerConnectionsTags ¶
ListVpcPeerConnectionsTags is a repeated param struct in ListVpcPeerConnectionsRequest
type ModifyVpcPeerConnectionRequest ¶
type ModifyVpcPeerConnectionRequest struct { *requests.RpcRequest ClientToken string `position:"Body" name:"ClientToken"` Channel string `position:"Body" name:"Channel"` Description string `position:"Body" name:"Description"` DryRun requests.Boolean `position:"Body" name:"DryRun"` Bandwidth requests.Integer `position:"Body" name:"Bandwidth"` InstanceId string `position:"Body" name:"InstanceId"` Name string `position:"Body" name:"Name"` }
ModifyVpcPeerConnectionRequest is the request struct for api ModifyVpcPeerConnection
func CreateModifyVpcPeerConnectionRequest ¶
func CreateModifyVpcPeerConnectionRequest() (request *ModifyVpcPeerConnectionRequest)
CreateModifyVpcPeerConnectionRequest creates a request to invoke ModifyVpcPeerConnection API
type ModifyVpcPeerConnectionResponse ¶
type ModifyVpcPeerConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyVpcPeerConnectionResponse is the response struct for api ModifyVpcPeerConnection
func CreateModifyVpcPeerConnectionResponse ¶
func CreateModifyVpcPeerConnectionResponse() (response *ModifyVpcPeerConnectionResponse)
CreateModifyVpcPeerConnectionResponse creates a response to parse from ModifyVpcPeerConnection response
type RejectVpcPeerConnectionRequest ¶
type RejectVpcPeerConnectionRequest struct { *requests.RpcRequest ClientToken string `position:"Body" name:"ClientToken"` Channel string `position:"Body" name:"Channel"` DryRun requests.Boolean `position:"Body" name:"DryRun"` ResourceOwnerAccount string `position:"Body" name:"ResourceOwnerAccount"` InstanceId string `position:"Body" name:"InstanceId"` }
RejectVpcPeerConnectionRequest is the request struct for api RejectVpcPeerConnection
func CreateRejectVpcPeerConnectionRequest ¶
func CreateRejectVpcPeerConnectionRequest() (request *RejectVpcPeerConnectionRequest)
CreateRejectVpcPeerConnectionRequest creates a request to invoke RejectVpcPeerConnection API
type RejectVpcPeerConnectionResponse ¶
type RejectVpcPeerConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RejectVpcPeerConnectionResponse is the response struct for api RejectVpcPeerConnection
func CreateRejectVpcPeerConnectionResponse ¶
func CreateRejectVpcPeerConnectionResponse() (response *RejectVpcPeerConnectionResponse)
CreateRejectVpcPeerConnectionResponse creates a response to parse from RejectVpcPeerConnection response
type TagsInGetVpcPeerConnectionAttribute ¶
type TagsInGetVpcPeerConnectionAttribute struct {
TagsItem []TagsItem `json:"Tags" xml:"Tags"`
}
TagsInGetVpcPeerConnectionAttribute is a nested struct in vpcpeer response
type TagsInListVpcPeerConnections ¶
type TagsInListVpcPeerConnections struct {
TagsItem []TagsItem `json:"Tags" xml:"Tags"`
}
TagsInListVpcPeerConnections is a nested struct in vpcpeer response
type Vpc ¶
type Vpc struct { VpcId string `json:"VpcId" xml:"VpcId"` Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"` Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"` }
Vpc is a nested struct in vpcpeer response
type VpcPeerConnects ¶
type VpcPeerConnects struct {
VpcPeerConnectsItem []VpcPeerConnectsItem `json:"VpcPeerConnects" xml:"VpcPeerConnects"`
}
VpcPeerConnects is a nested struct in vpcpeer response
type VpcPeerConnectsItem ¶
type VpcPeerConnectsItem struct { InstanceId string `json:"InstanceId" xml:"InstanceId"` GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` GmtModified string `json:"GmtModified" xml:"GmtModified"` Name string `json:"Name" xml:"Name"` Description string `json:"Description" xml:"Description"` OwnerId int `json:"OwnerId" xml:"OwnerId"` AcceptingOwnerUid int `json:"AcceptingOwnerUid" xml:"AcceptingOwnerUid"` RegionId string `json:"RegionId" xml:"RegionId"` AcceptingRegionId string `json:"AcceptingRegionId" xml:"AcceptingRegionId"` Bandwidth int `json:"Bandwidth" xml:"Bandwidth"` Status string `json:"Status" xml:"Status"` BizStatus string `json:"BizStatus" xml:"BizStatus"` GmtExpired string `json:"GmtExpired" xml:"GmtExpired"` ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` Vpc Vpc `json:"Vpc" xml:"Vpc"` AcceptingVpc AcceptingVpc `json:"AcceptingVpc" xml:"AcceptingVpc"` Tags []TagsItem `json:"Tags" xml:"Tags"` }
VpcPeerConnectsItem is a nested struct in vpcpeer response
Source Files ¶
- accept_vpc_peer_connection.go
- client.go
- create_vpc_peer_connection.go
- delete_vpc_peer_connection.go
- endpoint.go
- get_vpc_peer_connection_attribute.go
- list_vpc_peer_connections.go
- modify_vpc_peer_connection.go
- reject_vpc_peer_connection.go
- struct_accepting_vpc.go
- struct_ipv4_cidrs_in_get_vpc_peer_connection_attribute.go
- struct_ipv4_cidrs_in_list_vpc_peer_connections.go
- struct_ipv6_cidrs_in_get_vpc_peer_connection_attribute.go
- struct_ipv6_cidrs_in_list_vpc_peer_connections.go
- struct_tags_in_get_vpc_peer_connection_attribute.go
- struct_tags_in_list_vpc_peer_connections.go
- struct_tags_item.go
- struct_vpc.go
- struct_vpc_peer_connects.go
- struct_vpc_peer_connects_item.go