vpn

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package vpniface provides an interface to enable mocking the VPN service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// IkeConfigAuthAlgForCreateVpnConnectionInputSha1 is a IkeConfigAuthAlgForCreateVpnConnectionInput enum value
	IkeConfigAuthAlgForCreateVpnConnectionInputSha1 = "sha1"

	// IkeConfigAuthAlgForCreateVpnConnectionInputMd5 is a IkeConfigAuthAlgForCreateVpnConnectionInput enum value
	IkeConfigAuthAlgForCreateVpnConnectionInputMd5 = "md5"

	// IkeConfigAuthAlgForCreateVpnConnectionInputSha256 is a IkeConfigAuthAlgForCreateVpnConnectionInput enum value
	IkeConfigAuthAlgForCreateVpnConnectionInputSha256 = "sha256"

	// IkeConfigAuthAlgForCreateVpnConnectionInputSha384 is a IkeConfigAuthAlgForCreateVpnConnectionInput enum value
	IkeConfigAuthAlgForCreateVpnConnectionInputSha384 = "sha384"

	// IkeConfigAuthAlgForCreateVpnConnectionInputSha512 is a IkeConfigAuthAlgForCreateVpnConnectionInput enum value
	IkeConfigAuthAlgForCreateVpnConnectionInputSha512 = "sha512"
)
View Source
const (
	// IkeConfigDhGroupForCreateVpnConnectionInputGroup1 is a IkeConfigDhGroupForCreateVpnConnectionInput enum value
	IkeConfigDhGroupForCreateVpnConnectionInputGroup1 = "group1"

	// IkeConfigDhGroupForCreateVpnConnectionInputGroup2 is a IkeConfigDhGroupForCreateVpnConnectionInput enum value
	IkeConfigDhGroupForCreateVpnConnectionInputGroup2 = "group2"

	// IkeConfigDhGroupForCreateVpnConnectionInputGroup5 is a IkeConfigDhGroupForCreateVpnConnectionInput enum value
	IkeConfigDhGroupForCreateVpnConnectionInputGroup5 = "group5"

	// IkeConfigDhGroupForCreateVpnConnectionInputGroup14 is a IkeConfigDhGroupForCreateVpnConnectionInput enum value
	IkeConfigDhGroupForCreateVpnConnectionInputGroup14 = "group14"
)
View Source
const (
	// IkeConfigEncAlgForCreateVpnConnectionInputAes is a IkeConfigEncAlgForCreateVpnConnectionInput enum value
	IkeConfigEncAlgForCreateVpnConnectionInputAes = "aes"

	// IkeConfigEncAlgForCreateVpnConnectionInputAes192 is a IkeConfigEncAlgForCreateVpnConnectionInput enum value
	IkeConfigEncAlgForCreateVpnConnectionInputAes192 = "aes192"

	// IkeConfigEncAlgForCreateVpnConnectionInputAes256 is a IkeConfigEncAlgForCreateVpnConnectionInput enum value
	IkeConfigEncAlgForCreateVpnConnectionInputAes256 = "aes256"

	// IkeConfigEncAlgForCreateVpnConnectionInputDes is a IkeConfigEncAlgForCreateVpnConnectionInput enum value
	IkeConfigEncAlgForCreateVpnConnectionInputDes = "des"

	// IkeConfigEncAlgForCreateVpnConnectionInput3des is a IkeConfigEncAlgForCreateVpnConnectionInput enum value
	IkeConfigEncAlgForCreateVpnConnectionInput3des = "3des"
)
View Source
const (
	// IkeConfigModeForCreateVpnConnectionInputMain is a IkeConfigModeForCreateVpnConnectionInput enum value
	IkeConfigModeForCreateVpnConnectionInputMain = "main"

	// IkeConfigModeForCreateVpnConnectionInputAggressive is a IkeConfigModeForCreateVpnConnectionInput enum value
	IkeConfigModeForCreateVpnConnectionInputAggressive = "aggressive"
)
View Source
const (
	// IkeConfigVersionForCreateVpnConnectionInputIkev1 is a IkeConfigVersionForCreateVpnConnectionInput enum value
	IkeConfigVersionForCreateVpnConnectionInputIkev1 = "ikev1"

	// IkeConfigVersionForCreateVpnConnectionInputIkev2 is a IkeConfigVersionForCreateVpnConnectionInput enum value
	IkeConfigVersionForCreateVpnConnectionInputIkev2 = "ikev2"
)
View Source
const (
	// IpsecConfigAuthAlgForCreateVpnConnectionInputSha1 is a IpsecConfigAuthAlgForCreateVpnConnectionInput enum value
	IpsecConfigAuthAlgForCreateVpnConnectionInputSha1 = "sha1"

	// IpsecConfigAuthAlgForCreateVpnConnectionInputMd5 is a IpsecConfigAuthAlgForCreateVpnConnectionInput enum value
	IpsecConfigAuthAlgForCreateVpnConnectionInputMd5 = "md5"

	// IpsecConfigAuthAlgForCreateVpnConnectionInputSha256 is a IpsecConfigAuthAlgForCreateVpnConnectionInput enum value
	IpsecConfigAuthAlgForCreateVpnConnectionInputSha256 = "sha256"

	// IpsecConfigAuthAlgForCreateVpnConnectionInputSha384 is a IpsecConfigAuthAlgForCreateVpnConnectionInput enum value
	IpsecConfigAuthAlgForCreateVpnConnectionInputSha384 = "sha384"

	// IpsecConfigAuthAlgForCreateVpnConnectionInputSha512 is a IpsecConfigAuthAlgForCreateVpnConnectionInput enum value
	IpsecConfigAuthAlgForCreateVpnConnectionInputSha512 = "sha512"
)
View Source
const (
	// IpsecConfigDhGroupForCreateVpnConnectionInputGroup1 is a IpsecConfigDhGroupForCreateVpnConnectionInput enum value
	IpsecConfigDhGroupForCreateVpnConnectionInputGroup1 = "group1"

	// IpsecConfigDhGroupForCreateVpnConnectionInputGroup2 is a IpsecConfigDhGroupForCreateVpnConnectionInput enum value
	IpsecConfigDhGroupForCreateVpnConnectionInputGroup2 = "group2"

	// IpsecConfigDhGroupForCreateVpnConnectionInputGroup5 is a IpsecConfigDhGroupForCreateVpnConnectionInput enum value
	IpsecConfigDhGroupForCreateVpnConnectionInputGroup5 = "group5"

	// IpsecConfigDhGroupForCreateVpnConnectionInputGroup14 is a IpsecConfigDhGroupForCreateVpnConnectionInput enum value
	IpsecConfigDhGroupForCreateVpnConnectionInputGroup14 = "group14"
)
View Source
const (
	// IpsecConfigEncAlgForCreateVpnConnectionInputAes is a IpsecConfigEncAlgForCreateVpnConnectionInput enum value
	IpsecConfigEncAlgForCreateVpnConnectionInputAes = "aes"

	// IpsecConfigEncAlgForCreateVpnConnectionInputAes192 is a IpsecConfigEncAlgForCreateVpnConnectionInput enum value
	IpsecConfigEncAlgForCreateVpnConnectionInputAes192 = "aes192"

	// IpsecConfigEncAlgForCreateVpnConnectionInputAes256 is a IpsecConfigEncAlgForCreateVpnConnectionInput enum value
	IpsecConfigEncAlgForCreateVpnConnectionInputAes256 = "aes256"

	// IpsecConfigEncAlgForCreateVpnConnectionInputDes is a IpsecConfigEncAlgForCreateVpnConnectionInput enum value
	IpsecConfigEncAlgForCreateVpnConnectionInputDes = "des"

	// IpsecConfigEncAlgForCreateVpnConnectionInput3des is a IpsecConfigEncAlgForCreateVpnConnectionInput enum value
	IpsecConfigEncAlgForCreateVpnConnectionInput3des = "3des"
)
View Source
const (
	// PeriodUnitForCreateVpnGatewayInputMonth is a PeriodUnitForCreateVpnGatewayInput enum value
	PeriodUnitForCreateVpnGatewayInputMonth = "Month"

	// PeriodUnitForCreateVpnGatewayInputYear is a PeriodUnitForCreateVpnGatewayInput enum value
	PeriodUnitForCreateVpnGatewayInputYear = "Year"
)
View Source
const (
	// IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha1 is a IkeConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha1 = "sha1"

	// IkeConfigAuthAlgForModifyVpnConnectionAttributesInputMd5 is a IkeConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigAuthAlgForModifyVpnConnectionAttributesInputMd5 = "md5"

	// IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha256 is a IkeConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha256 = "sha256"

	// IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha384 is a IkeConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha384 = "sha384"

	// IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha512 is a IkeConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigAuthAlgForModifyVpnConnectionAttributesInputSha512 = "sha512"
)
View Source
const (
	// IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup1 is a IkeConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup1 = "group1"

	// IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup2 is a IkeConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup2 = "group2"

	// IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup5 is a IkeConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup5 = "group5"

	// IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup14 is a IkeConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IkeConfigDhGroupForModifyVpnConnectionAttributesInputGroup14 = "group14"
)
View Source
const (
	// IkeConfigEncAlgForModifyVpnConnectionAttributesInputAes is a IkeConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigEncAlgForModifyVpnConnectionAttributesInputAes = "aes"

	// IkeConfigEncAlgForModifyVpnConnectionAttributesInputAes192 is a IkeConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigEncAlgForModifyVpnConnectionAttributesInputAes192 = "aes192"

	// IkeConfigEncAlgForModifyVpnConnectionAttributesInputAes256 is a IkeConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigEncAlgForModifyVpnConnectionAttributesInputAes256 = "aes256"

	// IkeConfigEncAlgForModifyVpnConnectionAttributesInputDes is a IkeConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigEncAlgForModifyVpnConnectionAttributesInputDes = "des"

	// IkeConfigEncAlgForModifyVpnConnectionAttributesInput3des is a IkeConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IkeConfigEncAlgForModifyVpnConnectionAttributesInput3des = "3des"
)
View Source
const (
	// IkeConfigModeForModifyVpnConnectionAttributesInputMain is a IkeConfigModeForModifyVpnConnectionAttributesInput enum value
	IkeConfigModeForModifyVpnConnectionAttributesInputMain = "main"

	// IkeConfigModeForModifyVpnConnectionAttributesInputAggressive is a IkeConfigModeForModifyVpnConnectionAttributesInput enum value
	IkeConfigModeForModifyVpnConnectionAttributesInputAggressive = "aggressive"
)
View Source
const (
	// IkeConfigVersionForModifyVpnConnectionAttributesInputIkev1 is a IkeConfigVersionForModifyVpnConnectionAttributesInput enum value
	IkeConfigVersionForModifyVpnConnectionAttributesInputIkev1 = "ikev1"

	// IkeConfigVersionForModifyVpnConnectionAttributesInputIkev2 is a IkeConfigVersionForModifyVpnConnectionAttributesInput enum value
	IkeConfigVersionForModifyVpnConnectionAttributesInputIkev2 = "ikev2"
)
View Source
const (
	// IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha1 is a IpsecConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha1 = "sha1"

	// IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputMd5 is a IpsecConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputMd5 = "md5"

	// IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha256 is a IpsecConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha256 = "sha256"

	// IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha384 is a IpsecConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha384 = "sha384"

	// IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha512 is a IpsecConfigAuthAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigAuthAlgForModifyVpnConnectionAttributesInputSha512 = "sha512"
)
View Source
const (
	// IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup1 is a IpsecConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup1 = "group1"

	// IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup2 is a IpsecConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup2 = "group2"

	// IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup5 is a IpsecConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup5 = "group5"

	// IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup14 is a IpsecConfigDhGroupForModifyVpnConnectionAttributesInput enum value
	IpsecConfigDhGroupForModifyVpnConnectionAttributesInputGroup14 = "group14"
)
View Source
const (
	// IpsecConfigEncAlgForModifyVpnConnectionAttributesInputAes is a IpsecConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigEncAlgForModifyVpnConnectionAttributesInputAes = "aes"

	// IpsecConfigEncAlgForModifyVpnConnectionAttributesInputAes192 is a IpsecConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigEncAlgForModifyVpnConnectionAttributesInputAes192 = "aes192"

	// IpsecConfigEncAlgForModifyVpnConnectionAttributesInputAes256 is a IpsecConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigEncAlgForModifyVpnConnectionAttributesInputAes256 = "aes256"

	// IpsecConfigEncAlgForModifyVpnConnectionAttributesInputDes is a IpsecConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigEncAlgForModifyVpnConnectionAttributesInputDes = "des"

	// IpsecConfigEncAlgForModifyVpnConnectionAttributesInput3des is a IpsecConfigEncAlgForModifyVpnConnectionAttributesInput enum value
	IpsecConfigEncAlgForModifyVpnConnectionAttributesInput3des = "3des"
)
View Source
const (
	// PeriodUnitForRenewVpnGatewayInputMonth is a PeriodUnitForRenewVpnGatewayInput enum value
	PeriodUnitForRenewVpnGatewayInputMonth = "Month"

	// PeriodUnitForRenewVpnGatewayInputYear is a PeriodUnitForRenewVpnGatewayInput enum value
	PeriodUnitForRenewVpnGatewayInputYear = "Year"
)
View Source
const (
	ServiceName = "vpn"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "vpn"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCustomerGatewayInput

type CreateCustomerGatewayInput struct {
	CustomerGatewayName *string `min:"1" max:"128" type:"string"`

	Description *string `min:"1" max:"255" type:"string"`

	// IPAddress is a required field
	IPAddress *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateCustomerGatewayInput) GoString

func (s CreateCustomerGatewayInput) GoString() string

GoString returns the string representation

func (*CreateCustomerGatewayInput) SetCustomerGatewayName

func (s *CreateCustomerGatewayInput) SetCustomerGatewayName(v string) *CreateCustomerGatewayInput

SetCustomerGatewayName sets the CustomerGatewayName field's value.

func (*CreateCustomerGatewayInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateCustomerGatewayInput) SetIPAddress

SetIPAddress sets the IPAddress field's value.

func (CreateCustomerGatewayInput) String

String returns the string representation

func (*CreateCustomerGatewayInput) Validate

func (s *CreateCustomerGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCustomerGatewayOutput

type CreateCustomerGatewayOutput struct {
	Metadata *response.ResponseMetadata

	CustomerGatewayId *string `type:"string"`

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateCustomerGatewayOutput) GoString

func (s CreateCustomerGatewayOutput) GoString() string

GoString returns the string representation

func (*CreateCustomerGatewayOutput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*CreateCustomerGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateCustomerGatewayOutput) String

String returns the string representation

type CreateVpnConnectionInput

type CreateVpnConnectionInput struct {

	// CustomerGatewayId is a required field
	CustomerGatewayId *string `type:"string" required:"true"`

	Description *string `min:"1" max:"255" type:"string"`

	// IkeConfig is a required field
	IkeConfig *IkeConfigForCreateVpnConnectionInput `type:"structure" required:"true"`

	IpsecConfig *IpsecConfigForCreateVpnConnectionInput `type:"structure"`

	// LocalSubnet is a required field
	LocalSubnet *string `type:"string" required:"true"`

	NatTraversal *bool `type:"boolean"`

	// RemoteSubnet is a required field
	RemoteSubnet *string `type:"string" required:"true"`

	VpnConnectionName *string `min:"1" max:"128" type:"string"`

	// VpnGatewayId is a required field
	VpnGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVpnConnectionInput) GoString

func (s CreateVpnConnectionInput) GoString() string

GoString returns the string representation

func (*CreateVpnConnectionInput) SetCustomerGatewayId

func (s *CreateVpnConnectionInput) SetCustomerGatewayId(v string) *CreateVpnConnectionInput

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*CreateVpnConnectionInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateVpnConnectionInput) SetIkeConfig

SetIkeConfig sets the IkeConfig field's value.

func (*CreateVpnConnectionInput) SetIpsecConfig

SetIpsecConfig sets the IpsecConfig field's value.

func (*CreateVpnConnectionInput) SetLocalSubnet

SetLocalSubnet sets the LocalSubnet field's value.

func (*CreateVpnConnectionInput) SetNatTraversal

SetNatTraversal sets the NatTraversal field's value.

func (*CreateVpnConnectionInput) SetRemoteSubnet

SetRemoteSubnet sets the RemoteSubnet field's value.

func (*CreateVpnConnectionInput) SetVpnConnectionName

func (s *CreateVpnConnectionInput) SetVpnConnectionName(v string) *CreateVpnConnectionInput

SetVpnConnectionName sets the VpnConnectionName field's value.

func (*CreateVpnConnectionInput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (CreateVpnConnectionInput) String

func (s CreateVpnConnectionInput) String() string

String returns the string representation

func (*CreateVpnConnectionInput) Validate

func (s *CreateVpnConnectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVpnConnectionOutput

type CreateVpnConnectionOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`

	VpnConnectionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateVpnConnectionOutput) GoString

func (s CreateVpnConnectionOutput) GoString() string

GoString returns the string representation

func (*CreateVpnConnectionOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*CreateVpnConnectionOutput) SetVpnConnectionId

SetVpnConnectionId sets the VpnConnectionId field's value.

func (CreateVpnConnectionOutput) String

func (s CreateVpnConnectionOutput) String() string

String returns the string representation

type CreateVpnGatewayInput

type CreateVpnGatewayInput struct {

	// Bandwidth is a required field
	Bandwidth *int64 `min:"5" max:"200" type:"integer" required:"true"`

	BillingType *int64 `min:"1" max:"1" type:"integer"`

	Description *string `min:"1" max:"255" type:"string"`

	Period *int64 `type:"integer"`

	PeriodUnit *string `type:"string" enum:"PeriodUnitForCreateVpnGatewayInput"`

	RemainRenewTimes *int64 `type:"integer"`

	RenewPeriod *int64 `type:"integer"`

	RenewType *int64 `min:"1" max:"3" type:"integer"`

	// SubnetId is a required field
	SubnetId *string `type:"string" required:"true"`

	// VpcId is a required field
	VpcId *string `type:"string" required:"true"`

	VpnGatewayName *string `min:"1" max:"128" type:"string"`
	// contains filtered or unexported fields
}

func (CreateVpnGatewayInput) GoString

func (s CreateVpnGatewayInput) GoString() string

GoString returns the string representation

func (*CreateVpnGatewayInput) SetBandwidth

SetBandwidth sets the Bandwidth field's value.

func (*CreateVpnGatewayInput) SetBillingType

func (s *CreateVpnGatewayInput) SetBillingType(v int64) *CreateVpnGatewayInput

SetBillingType sets the BillingType field's value.

func (*CreateVpnGatewayInput) SetDescription

func (s *CreateVpnGatewayInput) SetDescription(v string) *CreateVpnGatewayInput

SetDescription sets the Description field's value.

func (*CreateVpnGatewayInput) SetPeriod

SetPeriod sets the Period field's value.

func (*CreateVpnGatewayInput) SetPeriodUnit

func (s *CreateVpnGatewayInput) SetPeriodUnit(v string) *CreateVpnGatewayInput

SetPeriodUnit sets the PeriodUnit field's value.

func (*CreateVpnGatewayInput) SetRemainRenewTimes

func (s *CreateVpnGatewayInput) SetRemainRenewTimes(v int64) *CreateVpnGatewayInput

SetRemainRenewTimes sets the RemainRenewTimes field's value.

func (*CreateVpnGatewayInput) SetRenewPeriod

func (s *CreateVpnGatewayInput) SetRenewPeriod(v int64) *CreateVpnGatewayInput

SetRenewPeriod sets the RenewPeriod field's value.

func (*CreateVpnGatewayInput) SetRenewType

SetRenewType sets the RenewType field's value.

func (*CreateVpnGatewayInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*CreateVpnGatewayInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*CreateVpnGatewayInput) SetVpnGatewayName

func (s *CreateVpnGatewayInput) SetVpnGatewayName(v string) *CreateVpnGatewayInput

SetVpnGatewayName sets the VpnGatewayName field's value.

func (CreateVpnGatewayInput) String

func (s CreateVpnGatewayInput) String() string

String returns the string representation

func (*CreateVpnGatewayInput) Validate

func (s *CreateVpnGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVpnGatewayOutput

type CreateVpnGatewayOutput struct {
	Metadata *response.ResponseMetadata

	OrderId *string `type:"string"`

	PreOrderNumber *string `type:"string"`

	RequestId *string `type:"string"`

	VpnGatewayId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateVpnGatewayOutput) GoString

func (s CreateVpnGatewayOutput) GoString() string

GoString returns the string representation

func (*CreateVpnGatewayOutput) SetOrderId

SetOrderId sets the OrderId field's value.

func (*CreateVpnGatewayOutput) SetPreOrderNumber

func (s *CreateVpnGatewayOutput) SetPreOrderNumber(v string) *CreateVpnGatewayOutput

SetPreOrderNumber sets the PreOrderNumber field's value.

func (*CreateVpnGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*CreateVpnGatewayOutput) SetVpnGatewayId

func (s *CreateVpnGatewayOutput) SetVpnGatewayId(v string) *CreateVpnGatewayOutput

SetVpnGatewayId sets the VpnGatewayId field's value.

func (CreateVpnGatewayOutput) String

func (s CreateVpnGatewayOutput) String() string

String returns the string representation

type CreateVpnGatewayRouteInput

type CreateVpnGatewayRouteInput struct {

	// DestinationCidrBlock is a required field
	DestinationCidrBlock *string `type:"string" required:"true"`

	// NextHopId is a required field
	NextHopId *string `type:"string" required:"true"`

	// VpnGatewayId is a required field
	VpnGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVpnGatewayRouteInput) GoString

func (s CreateVpnGatewayRouteInput) GoString() string

GoString returns the string representation

func (*CreateVpnGatewayRouteInput) SetDestinationCidrBlock

func (s *CreateVpnGatewayRouteInput) SetDestinationCidrBlock(v string) *CreateVpnGatewayRouteInput

SetDestinationCidrBlock sets the DestinationCidrBlock field's value.

func (*CreateVpnGatewayRouteInput) SetNextHopId

SetNextHopId sets the NextHopId field's value.

func (*CreateVpnGatewayRouteInput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (CreateVpnGatewayRouteInput) String

String returns the string representation

func (*CreateVpnGatewayRouteInput) Validate

func (s *CreateVpnGatewayRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVpnGatewayRouteOutput

type CreateVpnGatewayRouteOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`

	VpnGatewayRouteId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateVpnGatewayRouteOutput) GoString

func (s CreateVpnGatewayRouteOutput) GoString() string

GoString returns the string representation

func (*CreateVpnGatewayRouteOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*CreateVpnGatewayRouteOutput) SetVpnGatewayRouteId

SetVpnGatewayRouteId sets the VpnGatewayRouteId field's value.

func (CreateVpnGatewayRouteOutput) String

String returns the string representation

type CustomerGatewayForDescribeCustomerGatewaysOutput

type CustomerGatewayForDescribeCustomerGatewaysOutput struct {
	AccountId *string `type:"string"`

	ConnectionCount *int64 `type:"integer"`

	CreationTime *string `type:"string"`

	CustomerGatewayId *string `type:"string"`

	CustomerGatewayName *string `type:"string"`

	Description *string `type:"string"`

	IpAddress *string `type:"string"`

	Status *string `type:"string"`

	UpdateTime *string `type:"string"`
	// contains filtered or unexported fields
}

func (CustomerGatewayForDescribeCustomerGatewaysOutput) GoString

GoString returns the string representation

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetConnectionCount

SetConnectionCount sets the ConnectionCount field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetCustomerGatewayName

SetCustomerGatewayName sets the CustomerGatewayName field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetDescription

SetDescription sets the Description field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetIpAddress

SetIpAddress sets the IpAddress field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetStatus

SetStatus sets the Status field's value.

func (*CustomerGatewayForDescribeCustomerGatewaysOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (CustomerGatewayForDescribeCustomerGatewaysOutput) String

String returns the string representation

type DeleteCustomerGatewayInput

type DeleteCustomerGatewayInput struct {

	// CustomerGatewayId is a required field
	CustomerGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCustomerGatewayInput) GoString

func (s DeleteCustomerGatewayInput) GoString() string

GoString returns the string representation

func (*DeleteCustomerGatewayInput) SetCustomerGatewayId

func (s *DeleteCustomerGatewayInput) SetCustomerGatewayId(v string) *DeleteCustomerGatewayInput

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (DeleteCustomerGatewayInput) String

String returns the string representation

func (*DeleteCustomerGatewayInput) Validate

func (s *DeleteCustomerGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCustomerGatewayOutput

type DeleteCustomerGatewayOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteCustomerGatewayOutput) GoString

func (s DeleteCustomerGatewayOutput) GoString() string

GoString returns the string representation

func (*DeleteCustomerGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteCustomerGatewayOutput) String

String returns the string representation

type DeleteVpnConnectionInput

type DeleteVpnConnectionInput struct {

	// VpnConnectionId is a required field
	VpnConnectionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVpnConnectionInput) GoString

func (s DeleteVpnConnectionInput) GoString() string

GoString returns the string representation

func (*DeleteVpnConnectionInput) SetVpnConnectionId

func (s *DeleteVpnConnectionInput) SetVpnConnectionId(v string) *DeleteVpnConnectionInput

SetVpnConnectionId sets the VpnConnectionId field's value.

func (DeleteVpnConnectionInput) String

func (s DeleteVpnConnectionInput) String() string

String returns the string representation

func (*DeleteVpnConnectionInput) Validate

func (s *DeleteVpnConnectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteVpnConnectionOutput

type DeleteVpnConnectionOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteVpnConnectionOutput) GoString

func (s DeleteVpnConnectionOutput) GoString() string

GoString returns the string representation

func (*DeleteVpnConnectionOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteVpnConnectionOutput) String

func (s DeleteVpnConnectionOutput) String() string

String returns the string representation

type DeleteVpnGatewayInput

type DeleteVpnGatewayInput struct {

	// VpnGatewayId is a required field
	VpnGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVpnGatewayInput) GoString

func (s DeleteVpnGatewayInput) GoString() string

GoString returns the string representation

func (*DeleteVpnGatewayInput) SetVpnGatewayId

func (s *DeleteVpnGatewayInput) SetVpnGatewayId(v string) *DeleteVpnGatewayInput

SetVpnGatewayId sets the VpnGatewayId field's value.

func (DeleteVpnGatewayInput) String

func (s DeleteVpnGatewayInput) String() string

String returns the string representation

func (*DeleteVpnGatewayInput) Validate

func (s *DeleteVpnGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteVpnGatewayOutput

type DeleteVpnGatewayOutput struct {
	Metadata *response.ResponseMetadata

	PreOrderNumber *string `type:"string"`

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteVpnGatewayOutput) GoString

func (s DeleteVpnGatewayOutput) GoString() string

GoString returns the string representation

func (*DeleteVpnGatewayOutput) SetPreOrderNumber

func (s *DeleteVpnGatewayOutput) SetPreOrderNumber(v string) *DeleteVpnGatewayOutput

SetPreOrderNumber sets the PreOrderNumber field's value.

func (*DeleteVpnGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteVpnGatewayOutput) String

func (s DeleteVpnGatewayOutput) String() string

String returns the string representation

type DeleteVpnGatewayRouteInput

type DeleteVpnGatewayRouteInput struct {

	// VpnGatewayRouteId is a required field
	VpnGatewayRouteId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVpnGatewayRouteInput) GoString

func (s DeleteVpnGatewayRouteInput) GoString() string

GoString returns the string representation

func (*DeleteVpnGatewayRouteInput) SetVpnGatewayRouteId

func (s *DeleteVpnGatewayRouteInput) SetVpnGatewayRouteId(v string) *DeleteVpnGatewayRouteInput

SetVpnGatewayRouteId sets the VpnGatewayRouteId field's value.

func (DeleteVpnGatewayRouteInput) String

String returns the string representation

func (*DeleteVpnGatewayRouteInput) Validate

func (s *DeleteVpnGatewayRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteVpnGatewayRouteOutput

type DeleteVpnGatewayRouteOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteVpnGatewayRouteOutput) GoString

func (s DeleteVpnGatewayRouteOutput) GoString() string

GoString returns the string representation

func (*DeleteVpnGatewayRouteOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteVpnGatewayRouteOutput) String

String returns the string representation

type DescribeCustomerGatewayAttributesInput

type DescribeCustomerGatewayAttributesInput struct {

	// CustomerGatewayId is a required field
	CustomerGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeCustomerGatewayAttributesInput) GoString

GoString returns the string representation

func (*DescribeCustomerGatewayAttributesInput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (DescribeCustomerGatewayAttributesInput) String

String returns the string representation

func (*DescribeCustomerGatewayAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeCustomerGatewayAttributesOutput

type DescribeCustomerGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

	AccountId *string `type:"string"`

	ConnectionCount *int64 `type:"integer"`

	CreationTime *string `type:"string"`

	CustomerGatewayId *string `type:"string"`

	CustomerGatewayName *string `type:"string"`

	Description *string `type:"string"`

	IpAddress *string `type:"string"`

	RequestId *string `type:"string"`

	Status *string `type:"string"`

	UpdateTime *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeCustomerGatewayAttributesOutput) GoString

GoString returns the string representation

func (*DescribeCustomerGatewayAttributesOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetConnectionCount

SetConnectionCount sets the ConnectionCount field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetCustomerGatewayName

SetCustomerGatewayName sets the CustomerGatewayName field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetIpAddress

SetIpAddress sets the IpAddress field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeCustomerGatewayAttributesOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (DescribeCustomerGatewayAttributesOutput) String

String returns the string representation

type DescribeCustomerGatewaysInput

type DescribeCustomerGatewaysInput struct {
	CustomerGatewayIds []*string `type:"list"`

	CustomerGatewayName *string `type:"string"`

	IPAddress *string `type:"string"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	Status *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeCustomerGatewaysInput) GoString

GoString returns the string representation

func (*DescribeCustomerGatewaysInput) SetCustomerGatewayIds

func (s *DescribeCustomerGatewaysInput) SetCustomerGatewayIds(v []*string) *DescribeCustomerGatewaysInput

SetCustomerGatewayIds sets the CustomerGatewayIds field's value.

func (*DescribeCustomerGatewaysInput) SetCustomerGatewayName

SetCustomerGatewayName sets the CustomerGatewayName field's value.

func (*DescribeCustomerGatewaysInput) SetIPAddress

SetIPAddress sets the IPAddress field's value.

func (*DescribeCustomerGatewaysInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeCustomerGatewaysInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeCustomerGatewaysInput) SetStatus

SetStatus sets the Status field's value.

func (DescribeCustomerGatewaysInput) String

String returns the string representation

type DescribeCustomerGatewaysOutput

type DescribeCustomerGatewaysOutput struct {
	Metadata *response.ResponseMetadata

	CustomerGateways []*CustomerGatewayForDescribeCustomerGatewaysOutput `type:"list"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	TotalCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeCustomerGatewaysOutput) GoString

GoString returns the string representation

func (*DescribeCustomerGatewaysOutput) SetCustomerGateways

SetCustomerGateways sets the CustomerGateways field's value.

func (*DescribeCustomerGatewaysOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeCustomerGatewaysOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeCustomerGatewaysOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeCustomerGatewaysOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (DescribeCustomerGatewaysOutput) String

String returns the string representation

type DescribeVpnConnectionAttributesInput

type DescribeVpnConnectionAttributesInput struct {

	// VpnConnectionId is a required field
	VpnConnectionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVpnConnectionAttributesInput) GoString

GoString returns the string representation

func (*DescribeVpnConnectionAttributesInput) SetVpnConnectionId

SetVpnConnectionId sets the VpnConnectionId field's value.

func (DescribeVpnConnectionAttributesInput) String

String returns the string representation

func (*DescribeVpnConnectionAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeVpnConnectionAttributesOutput

type DescribeVpnConnectionAttributesOutput struct {
	Metadata *response.ResponseMetadata

	AccountId *string `type:"string"`

	CreationTime *string `type:"string"`

	CustomerGatewayId *string `type:"string"`

	Description *string `type:"string"`

	IkeConfig *IkeConfigForDescribeVpnConnectionAttributesOutput `type:"structure"`

	IpsecConfig *IpsecConfigForDescribeVpnConnectionAttributesOutput `type:"structure"`

	LocalSubnet []*string `type:"list"`

	NatTraversal *bool `type:"boolean"`

	RemoteSubnet []*string `type:"list"`

	RequestId *string `type:"string"`

	Status *string `type:"string"`

	UpdateTime *string `type:"string"`

	VpnConnectionId *string `type:"string"`

	VpnConnectionName *string `type:"string"`

	VpnGatewayId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeVpnConnectionAttributesOutput) GoString

GoString returns the string representation

func (*DescribeVpnConnectionAttributesOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*DescribeVpnConnectionAttributesOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeVpnConnectionAttributesOutput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*DescribeVpnConnectionAttributesOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeVpnConnectionAttributesOutput) SetIkeConfig

SetIkeConfig sets the IkeConfig field's value.

func (*DescribeVpnConnectionAttributesOutput) SetIpsecConfig

SetIpsecConfig sets the IpsecConfig field's value.

func (*DescribeVpnConnectionAttributesOutput) SetLocalSubnet

SetLocalSubnet sets the LocalSubnet field's value.

func (*DescribeVpnConnectionAttributesOutput) SetNatTraversal

SetNatTraversal sets the NatTraversal field's value.

func (*DescribeVpnConnectionAttributesOutput) SetRemoteSubnet

SetRemoteSubnet sets the RemoteSubnet field's value.

func (*DescribeVpnConnectionAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeVpnConnectionAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeVpnConnectionAttributesOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (*DescribeVpnConnectionAttributesOutput) SetVpnConnectionId

SetVpnConnectionId sets the VpnConnectionId field's value.

func (*DescribeVpnConnectionAttributesOutput) SetVpnConnectionName

SetVpnConnectionName sets the VpnConnectionName field's value.

func (*DescribeVpnConnectionAttributesOutput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (DescribeVpnConnectionAttributesOutput) String

String returns the string representation

type DescribeVpnConnectionsInput

type DescribeVpnConnectionsInput struct {
	CustomerGatewayId *string `type:"string"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	Status *string `type:"string"`

	VpnConnectionIds []*string `type:"list"`

	VpnConnectionName *string `type:"string"`

	VpnGatewayId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeVpnConnectionsInput) GoString

func (s DescribeVpnConnectionsInput) GoString() string

GoString returns the string representation

func (*DescribeVpnConnectionsInput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*DescribeVpnConnectionsInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnConnectionsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnConnectionsInput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeVpnConnectionsInput) SetVpnConnectionIds

func (s *DescribeVpnConnectionsInput) SetVpnConnectionIds(v []*string) *DescribeVpnConnectionsInput

SetVpnConnectionIds sets the VpnConnectionIds field's value.

func (*DescribeVpnConnectionsInput) SetVpnConnectionName

SetVpnConnectionName sets the VpnConnectionName field's value.

func (*DescribeVpnConnectionsInput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (DescribeVpnConnectionsInput) String

String returns the string representation

type DescribeVpnConnectionsOutput

type DescribeVpnConnectionsOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	TotalCount *int64 `type:"integer"`

	VpnConnections []*VpnConnectionForDescribeVpnConnectionsOutput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVpnConnectionsOutput) GoString

func (s DescribeVpnConnectionsOutput) GoString() string

GoString returns the string representation

func (*DescribeVpnConnectionsOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnConnectionsOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnConnectionsOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeVpnConnectionsOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (*DescribeVpnConnectionsOutput) SetVpnConnections

SetVpnConnections sets the VpnConnections field's value.

func (DescribeVpnConnectionsOutput) String

String returns the string representation

type DescribeVpnGatewayAttributesInput

type DescribeVpnGatewayAttributesInput struct {

	// VpnGatewayId is a required field
	VpnGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewayAttributesInput) GoString

GoString returns the string representation

func (*DescribeVpnGatewayAttributesInput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (DescribeVpnGatewayAttributesInput) String

String returns the string representation

func (*DescribeVpnGatewayAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeVpnGatewayAttributesOutput

type DescribeVpnGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

	AccountId *string `type:"string"`

	Bandwidth *int64 `type:"integer"`

	BillingType *int64 `type:"integer"`

	BusinessStatus *string `type:"string"`

	ConnectionCount *int64 `type:"integer"`

	CreationTime *string `type:"string"`

	DeletedTime *string `type:"string"`

	Description *string `type:"string"`

	ExpiredTime *string `type:"string"`

	IpAddress *string `type:"string"`

	LockReason *string `type:"string"`

	RequestId *string `type:"string"`

	RouteCount *int64 `type:"integer"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`

	UpdateTime *string `type:"string"`

	VpcId *string `type:"string"`

	VpnGatewayId *string `type:"string"`

	VpnGatewayName *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewayAttributesOutput) GoString

GoString returns the string representation

func (*DescribeVpnGatewayAttributesOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*DescribeVpnGatewayAttributesOutput) SetBandwidth

SetBandwidth sets the Bandwidth field's value.

func (*DescribeVpnGatewayAttributesOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*DescribeVpnGatewayAttributesOutput) SetBusinessStatus

SetBusinessStatus sets the BusinessStatus field's value.

func (*DescribeVpnGatewayAttributesOutput) SetConnectionCount

SetConnectionCount sets the ConnectionCount field's value.

func (*DescribeVpnGatewayAttributesOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeVpnGatewayAttributesOutput) SetDeletedTime

SetDeletedTime sets the DeletedTime field's value.

func (*DescribeVpnGatewayAttributesOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeVpnGatewayAttributesOutput) SetExpiredTime

SetExpiredTime sets the ExpiredTime field's value.

func (*DescribeVpnGatewayAttributesOutput) SetIpAddress

SetIpAddress sets the IpAddress field's value.

func (*DescribeVpnGatewayAttributesOutput) SetLockReason

SetLockReason sets the LockReason field's value.

func (*DescribeVpnGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeVpnGatewayAttributesOutput) SetRouteCount

SetRouteCount sets the RouteCount field's value.

func (*DescribeVpnGatewayAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeVpnGatewayAttributesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*DescribeVpnGatewayAttributesOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (*DescribeVpnGatewayAttributesOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*DescribeVpnGatewayAttributesOutput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (*DescribeVpnGatewayAttributesOutput) SetVpnGatewayName

SetVpnGatewayName sets the VpnGatewayName field's value.

func (DescribeVpnGatewayAttributesOutput) String

String returns the string representation

type DescribeVpnGatewayRouteAttributesInput

type DescribeVpnGatewayRouteAttributesInput struct {

	// VpnGatewayRouteId is a required field
	VpnGatewayRouteId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewayRouteAttributesInput) GoString

GoString returns the string representation

func (*DescribeVpnGatewayRouteAttributesInput) SetVpnGatewayRouteId

SetVpnGatewayRouteId sets the VpnGatewayRouteId field's value.

func (DescribeVpnGatewayRouteAttributesInput) String

String returns the string representation

func (*DescribeVpnGatewayRouteAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeVpnGatewayRouteAttributesOutput

type DescribeVpnGatewayRouteAttributesOutput struct {
	Metadata *response.ResponseMetadata

	CreationTime *string `type:"string"`

	DestinationCidrBlock *string `type:"string"`

	NextHopId *string `type:"string"`

	RequestId *string `type:"string"`

	Status *string `type:"string"`

	UpdateTime *string `type:"string"`

	VpnGatewayId *string `type:"string"`

	VpnGatewayRouteId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewayRouteAttributesOutput) GoString

GoString returns the string representation

func (*DescribeVpnGatewayRouteAttributesOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeVpnGatewayRouteAttributesOutput) SetDestinationCidrBlock

SetDestinationCidrBlock sets the DestinationCidrBlock field's value.

func (*DescribeVpnGatewayRouteAttributesOutput) SetNextHopId

SetNextHopId sets the NextHopId field's value.

func (*DescribeVpnGatewayRouteAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeVpnGatewayRouteAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeVpnGatewayRouteAttributesOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (*DescribeVpnGatewayRouteAttributesOutput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (*DescribeVpnGatewayRouteAttributesOutput) SetVpnGatewayRouteId

SetVpnGatewayRouteId sets the VpnGatewayRouteId field's value.

func (DescribeVpnGatewayRouteAttributesOutput) String

String returns the string representation

type DescribeVpnGatewayRoutesInput

type DescribeVpnGatewayRoutesInput struct {
	DestinationCidrBlock *string `type:"string"`

	NextHopId *string `type:"string"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	Status *string `type:"string"`

	VpnGatewayId *string `type:"string"`

	VpnGatewayRouteIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewayRoutesInput) GoString

GoString returns the string representation

func (*DescribeVpnGatewayRoutesInput) SetDestinationCidrBlock

SetDestinationCidrBlock sets the DestinationCidrBlock field's value.

func (*DescribeVpnGatewayRoutesInput) SetNextHopId

SetNextHopId sets the NextHopId field's value.

func (*DescribeVpnGatewayRoutesInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnGatewayRoutesInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnGatewayRoutesInput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeVpnGatewayRoutesInput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (*DescribeVpnGatewayRoutesInput) SetVpnGatewayRouteIds

func (s *DescribeVpnGatewayRoutesInput) SetVpnGatewayRouteIds(v []*string) *DescribeVpnGatewayRoutesInput

SetVpnGatewayRouteIds sets the VpnGatewayRouteIds field's value.

func (DescribeVpnGatewayRoutesInput) String

String returns the string representation

type DescribeVpnGatewayRoutesOutput

type DescribeVpnGatewayRoutesOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	TotalCount *int64 `type:"integer"`

	VpnGatewayRoutes []*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewayRoutesOutput) GoString

GoString returns the string representation

func (*DescribeVpnGatewayRoutesOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnGatewayRoutesOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnGatewayRoutesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeVpnGatewayRoutesOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (*DescribeVpnGatewayRoutesOutput) SetVpnGatewayRoutes

SetVpnGatewayRoutes sets the VpnGatewayRoutes field's value.

func (DescribeVpnGatewayRoutesOutput) String

String returns the string representation

type DescribeVpnGatewaysBillingInput

type DescribeVpnGatewaysBillingInput struct {
	PageNumber *int64 `type:"integer"`

	PageSize *int64 `max:"100" type:"integer"`

	// VpnGatewayIds is a required field
	VpnGatewayIds []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewaysBillingInput) GoString

GoString returns the string representation

func (*DescribeVpnGatewaysBillingInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnGatewaysBillingInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnGatewaysBillingInput) SetVpnGatewayIds

SetVpnGatewayIds sets the VpnGatewayIds field's value.

func (DescribeVpnGatewaysBillingInput) String

String returns the string representation

func (*DescribeVpnGatewaysBillingInput) Validate

func (s *DescribeVpnGatewaysBillingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeVpnGatewaysBillingOutput

type DescribeVpnGatewaysBillingOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	TotalCount *int64 `type:"integer"`

	VpnGateways []*VpnGatewayForDescribeVpnGatewaysBillingOutput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewaysBillingOutput) GoString

GoString returns the string representation

func (*DescribeVpnGatewaysBillingOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnGatewaysBillingOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnGatewaysBillingOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeVpnGatewaysBillingOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (*DescribeVpnGatewaysBillingOutput) SetVpnGateways

SetVpnGateways sets the VpnGateways field's value.

func (DescribeVpnGatewaysBillingOutput) String

String returns the string representation

type DescribeVpnGatewaysInput

type DescribeVpnGatewaysInput struct {
	IpAddress *string `type:"string"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`

	VpcId *string `type:"string"`

	VpnGatewayIds []*string `type:"list"`

	VpnGatewayName *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewaysInput) GoString

func (s DescribeVpnGatewaysInput) GoString() string

GoString returns the string representation

func (*DescribeVpnGatewaysInput) SetIpAddress

SetIpAddress sets the IpAddress field's value.

func (*DescribeVpnGatewaysInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnGatewaysInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnGatewaysInput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeVpnGatewaysInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*DescribeVpnGatewaysInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*DescribeVpnGatewaysInput) SetVpnGatewayIds

func (s *DescribeVpnGatewaysInput) SetVpnGatewayIds(v []*string) *DescribeVpnGatewaysInput

SetVpnGatewayIds sets the VpnGatewayIds field's value.

func (*DescribeVpnGatewaysInput) SetVpnGatewayName

func (s *DescribeVpnGatewaysInput) SetVpnGatewayName(v string) *DescribeVpnGatewaysInput

SetVpnGatewayName sets the VpnGatewayName field's value.

func (DescribeVpnGatewaysInput) String

func (s DescribeVpnGatewaysInput) String() string

String returns the string representation

type DescribeVpnGatewaysOutput

type DescribeVpnGatewaysOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	TotalCount *int64 `type:"integer"`

	VpnGateways []*VpnGatewayForDescribeVpnGatewaysOutput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVpnGatewaysOutput) GoString

func (s DescribeVpnGatewaysOutput) GoString() string

GoString returns the string representation

func (*DescribeVpnGatewaysOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeVpnGatewaysOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVpnGatewaysOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeVpnGatewaysOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (*DescribeVpnGatewaysOutput) SetVpnGateways

SetVpnGateways sets the VpnGateways field's value.

func (DescribeVpnGatewaysOutput) String

func (s DescribeVpnGatewaysOutput) String() string

String returns the string representation

type IkeConfigForCreateVpnConnectionInput

type IkeConfigForCreateVpnConnectionInput struct {
	AuthAlg *string `type:"string" enum:"IkeConfigAuthAlgForCreateVpnConnectionInput"`

	DhGroup *string `type:"string" enum:"IkeConfigDhGroupForCreateVpnConnectionInput"`

	EncAlg *string `type:"string" enum:"IkeConfigEncAlgForCreateVpnConnectionInput"`

	Lifetime *string `type:"string"`

	LocalId *string `type:"string"`

	Mode *string `type:"string" enum:"IkeConfigModeForCreateVpnConnectionInput"`

	// Psk is a required field
	Psk *string `type:"string" required:"true"`

	RemoteId *string `type:"string"`

	Version *string `type:"string" enum:"IkeConfigVersionForCreateVpnConnectionInput"`
	// contains filtered or unexported fields
}

func (IkeConfigForCreateVpnConnectionInput) GoString

GoString returns the string representation

func (*IkeConfigForCreateVpnConnectionInput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetLocalId

SetLocalId sets the LocalId field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetMode

SetMode sets the Mode field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetPsk

SetPsk sets the Psk field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetRemoteId

SetRemoteId sets the RemoteId field's value.

func (*IkeConfigForCreateVpnConnectionInput) SetVersion

SetVersion sets the Version field's value.

func (IkeConfigForCreateVpnConnectionInput) String

String returns the string representation

func (*IkeConfigForCreateVpnConnectionInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type IkeConfigForDescribeVpnConnectionAttributesOutput

type IkeConfigForDescribeVpnConnectionAttributesOutput struct {
	AuthAlg *string `type:"string"`

	DhGroup *string `type:"string"`

	EncAlg *string `type:"string"`

	Lifetime *int64 `type:"integer"`

	LocalId *string `type:"string"`

	Mode *string `type:"string"`

	Psk *string `type:"string"`

	RemoteId *string `type:"string"`

	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (IkeConfigForDescribeVpnConnectionAttributesOutput) GoString

GoString returns the string representation

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetLocalId

SetLocalId sets the LocalId field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetMode

SetMode sets the Mode field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetPsk

SetPsk sets the Psk field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetRemoteId

SetRemoteId sets the RemoteId field's value.

func (*IkeConfigForDescribeVpnConnectionAttributesOutput) SetVersion

SetVersion sets the Version field's value.

func (IkeConfigForDescribeVpnConnectionAttributesOutput) String

String returns the string representation

type IkeConfigForDescribeVpnConnectionsOutput

type IkeConfigForDescribeVpnConnectionsOutput struct {
	AuthAlg *string `type:"string"`

	DhGroup *string `type:"string"`

	EncAlg *string `type:"string"`

	Lifetime *int64 `type:"integer"`

	LocalId *string `type:"string"`

	Mode *string `type:"string"`

	Psk *string `type:"string"`

	RemoteId *string `type:"string"`

	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (IkeConfigForDescribeVpnConnectionsOutput) GoString

GoString returns the string representation

func (*IkeConfigForDescribeVpnConnectionsOutput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetLocalId

SetLocalId sets the LocalId field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetMode

SetMode sets the Mode field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetPsk

SetPsk sets the Psk field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetRemoteId

SetRemoteId sets the RemoteId field's value.

func (*IkeConfigForDescribeVpnConnectionsOutput) SetVersion

SetVersion sets the Version field's value.

func (IkeConfigForDescribeVpnConnectionsOutput) String

String returns the string representation

type IkeConfigForModifyVpnConnectionAttributesInput

type IkeConfigForModifyVpnConnectionAttributesInput struct {
	AuthAlg *string `type:"string" enum:"IkeConfigAuthAlgForModifyVpnConnectionAttributesInput"`

	DhGroup *string `type:"string" enum:"IkeConfigDhGroupForModifyVpnConnectionAttributesInput"`

	EncAlg *string `type:"string" enum:"IkeConfigEncAlgForModifyVpnConnectionAttributesInput"`

	Lifetime *string `type:"string"`

	LocalId *string `type:"string"`

	Mode *string `type:"string" enum:"IkeConfigModeForModifyVpnConnectionAttributesInput"`

	Psk *string `type:"string"`

	RemoteId *string `type:"string"`

	Version *string `type:"string" enum:"IkeConfigVersionForModifyVpnConnectionAttributesInput"`
	// contains filtered or unexported fields
}

func (IkeConfigForModifyVpnConnectionAttributesInput) GoString

GoString returns the string representation

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetLocalId

SetLocalId sets the LocalId field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetMode

SetMode sets the Mode field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetPsk

SetPsk sets the Psk field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetRemoteId

SetRemoteId sets the RemoteId field's value.

func (*IkeConfigForModifyVpnConnectionAttributesInput) SetVersion

SetVersion sets the Version field's value.

func (IkeConfigForModifyVpnConnectionAttributesInput) String

String returns the string representation

type IpsecConfigForCreateVpnConnectionInput

type IpsecConfigForCreateVpnConnectionInput struct {
	AuthAlg *string `type:"string" enum:"IpsecConfigAuthAlgForCreateVpnConnectionInput"`

	DhGroup *string `type:"string" enum:"IpsecConfigDhGroupForCreateVpnConnectionInput"`

	EncAlg *string `type:"string" enum:"IpsecConfigEncAlgForCreateVpnConnectionInput"`

	Lifetime *string `type:"string"`
	// contains filtered or unexported fields
}

func (IpsecConfigForCreateVpnConnectionInput) GoString

GoString returns the string representation

func (*IpsecConfigForCreateVpnConnectionInput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IpsecConfigForCreateVpnConnectionInput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IpsecConfigForCreateVpnConnectionInput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IpsecConfigForCreateVpnConnectionInput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (IpsecConfigForCreateVpnConnectionInput) String

String returns the string representation

type IpsecConfigForDescribeVpnConnectionAttributesOutput

type IpsecConfigForDescribeVpnConnectionAttributesOutput struct {
	AuthAlg *string `type:"string"`

	DhGroup *string `type:"string"`

	EncAlg *string `type:"string"`

	Lifetime *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (IpsecConfigForDescribeVpnConnectionAttributesOutput) GoString

GoString returns the string representation

func (*IpsecConfigForDescribeVpnConnectionAttributesOutput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IpsecConfigForDescribeVpnConnectionAttributesOutput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IpsecConfigForDescribeVpnConnectionAttributesOutput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IpsecConfigForDescribeVpnConnectionAttributesOutput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (IpsecConfigForDescribeVpnConnectionAttributesOutput) String

String returns the string representation

type IpsecConfigForDescribeVpnConnectionsOutput

type IpsecConfigForDescribeVpnConnectionsOutput struct {
	AuthAlg *string `type:"string"`

	DhGroup *string `type:"string"`

	EncAlg *string `type:"string"`

	Lifetime *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (IpsecConfigForDescribeVpnConnectionsOutput) GoString

GoString returns the string representation

func (*IpsecConfigForDescribeVpnConnectionsOutput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IpsecConfigForDescribeVpnConnectionsOutput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IpsecConfigForDescribeVpnConnectionsOutput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IpsecConfigForDescribeVpnConnectionsOutput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (IpsecConfigForDescribeVpnConnectionsOutput) String

String returns the string representation

type IpsecConfigForModifyVpnConnectionAttributesInput

type IpsecConfigForModifyVpnConnectionAttributesInput struct {
	AuthAlg *string `type:"string" enum:"IpsecConfigAuthAlgForModifyVpnConnectionAttributesInput"`

	DhGroup *string `type:"string" enum:"IpsecConfigDhGroupForModifyVpnConnectionAttributesInput"`

	EncAlg *string `type:"string" enum:"IpsecConfigEncAlgForModifyVpnConnectionAttributesInput"`

	Lifetime *string `type:"string"`
	// contains filtered or unexported fields
}

func (IpsecConfigForModifyVpnConnectionAttributesInput) GoString

GoString returns the string representation

func (*IpsecConfigForModifyVpnConnectionAttributesInput) SetAuthAlg

SetAuthAlg sets the AuthAlg field's value.

func (*IpsecConfigForModifyVpnConnectionAttributesInput) SetDhGroup

SetDhGroup sets the DhGroup field's value.

func (*IpsecConfigForModifyVpnConnectionAttributesInput) SetEncAlg

SetEncAlg sets the EncAlg field's value.

func (*IpsecConfigForModifyVpnConnectionAttributesInput) SetLifetime

SetLifetime sets the Lifetime field's value.

func (IpsecConfigForModifyVpnConnectionAttributesInput) String

String returns the string representation

type ModifyCustomerGatewayAttributesInput

type ModifyCustomerGatewayAttributesInput struct {

	// CustomerGatewayId is a required field
	CustomerGatewayId *string `type:"string" required:"true"`

	CustomerGatewayName *string `min:"1" max:"128" type:"string"`

	Description *string `min:"1" max:"255" type:"string"`
	// contains filtered or unexported fields
}

func (ModifyCustomerGatewayAttributesInput) GoString

GoString returns the string representation

func (*ModifyCustomerGatewayAttributesInput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*ModifyCustomerGatewayAttributesInput) SetCustomerGatewayName

SetCustomerGatewayName sets the CustomerGatewayName field's value.

func (*ModifyCustomerGatewayAttributesInput) SetDescription

SetDescription sets the Description field's value.

func (ModifyCustomerGatewayAttributesInput) String

String returns the string representation

func (*ModifyCustomerGatewayAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ModifyCustomerGatewayAttributesOutput

type ModifyCustomerGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyCustomerGatewayAttributesOutput) GoString

GoString returns the string representation

func (*ModifyCustomerGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ModifyCustomerGatewayAttributesOutput) String

String returns the string representation

type ModifyVpnConnectionAttributesInput

type ModifyVpnConnectionAttributesInput struct {
	Description *string `min:"1" max:"255" type:"string"`

	IkeConfig *IkeConfigForModifyVpnConnectionAttributesInput `type:"structure"`

	IpsecConfig *IpsecConfigForModifyVpnConnectionAttributesInput `type:"structure"`

	LocalSubnet *string `type:"string"`

	NatTraversal *bool `type:"boolean"`

	RemoteSubnet *string `type:"string"`

	// VpnConnectionId is a required field
	VpnConnectionId *string `type:"string" required:"true"`

	VpnConnectionName *string `min:"1" max:"128" type:"string"`
	// contains filtered or unexported fields
}

func (ModifyVpnConnectionAttributesInput) GoString

GoString returns the string representation

func (*ModifyVpnConnectionAttributesInput) SetDescription

SetDescription sets the Description field's value.

func (*ModifyVpnConnectionAttributesInput) SetIkeConfig

SetIkeConfig sets the IkeConfig field's value.

func (*ModifyVpnConnectionAttributesInput) SetIpsecConfig

SetIpsecConfig sets the IpsecConfig field's value.

func (*ModifyVpnConnectionAttributesInput) SetLocalSubnet

SetLocalSubnet sets the LocalSubnet field's value.

func (*ModifyVpnConnectionAttributesInput) SetNatTraversal

SetNatTraversal sets the NatTraversal field's value.

func (*ModifyVpnConnectionAttributesInput) SetRemoteSubnet

SetRemoteSubnet sets the RemoteSubnet field's value.

func (*ModifyVpnConnectionAttributesInput) SetVpnConnectionId

SetVpnConnectionId sets the VpnConnectionId field's value.

func (*ModifyVpnConnectionAttributesInput) SetVpnConnectionName

SetVpnConnectionName sets the VpnConnectionName field's value.

func (ModifyVpnConnectionAttributesInput) String

String returns the string representation

func (*ModifyVpnConnectionAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ModifyVpnConnectionAttributesOutput

type ModifyVpnConnectionAttributesOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyVpnConnectionAttributesOutput) GoString

GoString returns the string representation

func (*ModifyVpnConnectionAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ModifyVpnConnectionAttributesOutput) String

String returns the string representation

type ModifyVpnGatewayAttributesInput

type ModifyVpnGatewayAttributesInput struct {
	Bandwidth *int64 `min:"5" max:"200" type:"integer"`

	Description *string `min:"1" max:"255" type:"string"`

	// VpnGatewayId is a required field
	VpnGatewayId *string `type:"string" required:"true"`

	VpnGatewayName *string `min:"1" max:"128" type:"string"`
	// contains filtered or unexported fields
}

func (ModifyVpnGatewayAttributesInput) GoString

GoString returns the string representation

func (*ModifyVpnGatewayAttributesInput) SetBandwidth

SetBandwidth sets the Bandwidth field's value.

func (*ModifyVpnGatewayAttributesInput) SetDescription

SetDescription sets the Description field's value.

func (*ModifyVpnGatewayAttributesInput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (*ModifyVpnGatewayAttributesInput) SetVpnGatewayName

SetVpnGatewayName sets the VpnGatewayName field's value.

func (ModifyVpnGatewayAttributesInput) String

String returns the string representation

func (*ModifyVpnGatewayAttributesInput) Validate

func (s *ModifyVpnGatewayAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifyVpnGatewayAttributesOutput

type ModifyVpnGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

	PreOrderNumber *string `type:"string"`

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyVpnGatewayAttributesOutput) GoString

GoString returns the string representation

func (*ModifyVpnGatewayAttributesOutput) SetPreOrderNumber

SetPreOrderNumber sets the PreOrderNumber field's value.

func (*ModifyVpnGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ModifyVpnGatewayAttributesOutput) String

String returns the string representation

type RenewVpnGatewayInput

type RenewVpnGatewayInput struct {
	Period *int64 `type:"integer"`

	PeriodUnit *string `type:"string" enum:"PeriodUnitForRenewVpnGatewayInput"`

	// VpnGatewayId is a required field
	VpnGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RenewVpnGatewayInput) GoString

func (s RenewVpnGatewayInput) GoString() string

GoString returns the string representation

func (*RenewVpnGatewayInput) SetPeriod

SetPeriod sets the Period field's value.

func (*RenewVpnGatewayInput) SetPeriodUnit

func (s *RenewVpnGatewayInput) SetPeriodUnit(v string) *RenewVpnGatewayInput

SetPeriodUnit sets the PeriodUnit field's value.

func (*RenewVpnGatewayInput) SetVpnGatewayId

func (s *RenewVpnGatewayInput) SetVpnGatewayId(v string) *RenewVpnGatewayInput

SetVpnGatewayId sets the VpnGatewayId field's value.

func (RenewVpnGatewayInput) String

func (s RenewVpnGatewayInput) String() string

String returns the string representation

func (*RenewVpnGatewayInput) Validate

func (s *RenewVpnGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RenewVpnGatewayOutput

type RenewVpnGatewayOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (RenewVpnGatewayOutput) GoString

func (s RenewVpnGatewayOutput) GoString() string

GoString returns the string representation

func (*RenewVpnGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (RenewVpnGatewayOutput) String

func (s RenewVpnGatewayOutput) String() string

String returns the string representation

type SetVpnGatewayRenewalInput

type SetVpnGatewayRenewalInput struct {
	RemainRenewTimes *int64 `type:"integer"`

	RenewPeriod *int64 `type:"integer"`

	// RenewType is a required field
	RenewType *int64 `min:"1" max:"3" type:"integer" required:"true"`

	// VpnGatewayId is a required field
	VpnGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetVpnGatewayRenewalInput) GoString

func (s SetVpnGatewayRenewalInput) GoString() string

GoString returns the string representation

func (*SetVpnGatewayRenewalInput) SetRemainRenewTimes

func (s *SetVpnGatewayRenewalInput) SetRemainRenewTimes(v int64) *SetVpnGatewayRenewalInput

SetRemainRenewTimes sets the RemainRenewTimes field's value.

func (*SetVpnGatewayRenewalInput) SetRenewPeriod

SetRenewPeriod sets the RenewPeriod field's value.

func (*SetVpnGatewayRenewalInput) SetRenewType

SetRenewType sets the RenewType field's value.

func (*SetVpnGatewayRenewalInput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (SetVpnGatewayRenewalInput) String

func (s SetVpnGatewayRenewalInput) String() string

String returns the string representation

func (*SetVpnGatewayRenewalInput) Validate

func (s *SetVpnGatewayRenewalInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetVpnGatewayRenewalOutput

type SetVpnGatewayRenewalOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (SetVpnGatewayRenewalOutput) GoString

func (s SetVpnGatewayRenewalOutput) GoString() string

GoString returns the string representation

func (*SetVpnGatewayRenewalOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (SetVpnGatewayRenewalOutput) String

String returns the string representation

type VPN

type VPN struct {
	*client.Client
}

VPN provides the API operation methods for making requests to VPN. See this package's package overview docs for details on the service.

VPN methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*volcstack.Config) *VPN

New create int can support ssl or region locate set

func (*VPN) CreateCustomerGateway

func (c *VPN) CreateCustomerGateway(input *CreateCustomerGatewayInput) (*CreateCustomerGatewayOutput, error)

CreateCustomerGateway API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateCustomerGateway for usage and error information.

func (*VPN) CreateCustomerGatewayCommon

func (c *VPN) CreateCustomerGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateCustomerGatewayCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateCustomerGatewayCommon for usage and error information.

func (*VPN) CreateCustomerGatewayCommonRequest

func (c *VPN) CreateCustomerGatewayCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateCustomerGatewayCommonRequest generates a "volcstack/request.Request" representing the client's request for the CreateCustomerGatewayCommon operation. The "output" return value will be populated with the CreateCustomerGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateCustomerGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after CreateCustomerGatewayCommon Send returns without error.

See CreateCustomerGatewayCommon for more information on using the CreateCustomerGatewayCommon API call, and error handling.

// Example sending a request using the CreateCustomerGatewayCommonRequest method.
req, resp := client.CreateCustomerGatewayCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateCustomerGatewayCommonWithContext

func (c *VPN) CreateCustomerGatewayCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateCustomerGatewayCommonWithContext is the same as CreateCustomerGatewayCommon with the addition of the ability to pass a context and additional request options.

See CreateCustomerGatewayCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) CreateCustomerGatewayRequest

func (c *VPN) CreateCustomerGatewayRequest(input *CreateCustomerGatewayInput) (req *request.Request, output *CreateCustomerGatewayOutput)

CreateCustomerGatewayRequest generates a "volcstack/request.Request" representing the client's request for the CreateCustomerGateway operation. The "output" return value will be populated with the CreateCustomerGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateCustomerGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after CreateCustomerGatewayCommon Send returns without error.

See CreateCustomerGateway for more information on using the CreateCustomerGateway API call, and error handling.

// Example sending a request using the CreateCustomerGatewayRequest method.
req, resp := client.CreateCustomerGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateCustomerGatewayWithContext

func (c *VPN) CreateCustomerGatewayWithContext(ctx volcstack.Context, input *CreateCustomerGatewayInput, opts ...request.Option) (*CreateCustomerGatewayOutput, error)

CreateCustomerGatewayWithContext is the same as CreateCustomerGateway with the addition of the ability to pass a context and additional request options.

See CreateCustomerGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) CreateVpnConnection

func (c *VPN) CreateVpnConnection(input *CreateVpnConnectionInput) (*CreateVpnConnectionOutput, error)

CreateVpnConnection API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateVpnConnection for usage and error information.

func (*VPN) CreateVpnConnectionCommon

func (c *VPN) CreateVpnConnectionCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateVpnConnectionCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateVpnConnectionCommon for usage and error information.

func (*VPN) CreateVpnConnectionCommonRequest

func (c *VPN) CreateVpnConnectionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateVpnConnectionCommonRequest generates a "volcstack/request.Request" representing the client's request for the CreateVpnConnectionCommon operation. The "output" return value will be populated with the CreateVpnConnectionCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateVpnConnectionCommon Request to send the API call to the service. the "output" return value is not valid until after CreateVpnConnectionCommon Send returns without error.

See CreateVpnConnectionCommon for more information on using the CreateVpnConnectionCommon API call, and error handling.

// Example sending a request using the CreateVpnConnectionCommonRequest method.
req, resp := client.CreateVpnConnectionCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateVpnConnectionCommonWithContext

func (c *VPN) CreateVpnConnectionCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateVpnConnectionCommonWithContext is the same as CreateVpnConnectionCommon with the addition of the ability to pass a context and additional request options.

See CreateVpnConnectionCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) CreateVpnConnectionRequest

func (c *VPN) CreateVpnConnectionRequest(input *CreateVpnConnectionInput) (req *request.Request, output *CreateVpnConnectionOutput)

CreateVpnConnectionRequest generates a "volcstack/request.Request" representing the client's request for the CreateVpnConnection operation. The "output" return value will be populated with the CreateVpnConnectionCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateVpnConnectionCommon Request to send the API call to the service. the "output" return value is not valid until after CreateVpnConnectionCommon Send returns without error.

See CreateVpnConnection for more information on using the CreateVpnConnection API call, and error handling.

// Example sending a request using the CreateVpnConnectionRequest method.
req, resp := client.CreateVpnConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateVpnConnectionWithContext

func (c *VPN) CreateVpnConnectionWithContext(ctx volcstack.Context, input *CreateVpnConnectionInput, opts ...request.Option) (*CreateVpnConnectionOutput, error)

CreateVpnConnectionWithContext is the same as CreateVpnConnection with the addition of the ability to pass a context and additional request options.

See CreateVpnConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) CreateVpnGateway

func (c *VPN) CreateVpnGateway(input *CreateVpnGatewayInput) (*CreateVpnGatewayOutput, error)

CreateVpnGateway API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateVpnGateway for usage and error information.

func (*VPN) CreateVpnGatewayCommon

func (c *VPN) CreateVpnGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateVpnGatewayCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateVpnGatewayCommon for usage and error information.

func (*VPN) CreateVpnGatewayCommonRequest

func (c *VPN) CreateVpnGatewayCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateVpnGatewayCommonRequest generates a "volcstack/request.Request" representing the client's request for the CreateVpnGatewayCommon operation. The "output" return value will be populated with the CreateVpnGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateVpnGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after CreateVpnGatewayCommon Send returns without error.

See CreateVpnGatewayCommon for more information on using the CreateVpnGatewayCommon API call, and error handling.

// Example sending a request using the CreateVpnGatewayCommonRequest method.
req, resp := client.CreateVpnGatewayCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateVpnGatewayCommonWithContext

func (c *VPN) CreateVpnGatewayCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateVpnGatewayCommonWithContext is the same as CreateVpnGatewayCommon with the addition of the ability to pass a context and additional request options.

See CreateVpnGatewayCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) CreateVpnGatewayRequest

func (c *VPN) CreateVpnGatewayRequest(input *CreateVpnGatewayInput) (req *request.Request, output *CreateVpnGatewayOutput)

CreateVpnGatewayRequest generates a "volcstack/request.Request" representing the client's request for the CreateVpnGateway operation. The "output" return value will be populated with the CreateVpnGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateVpnGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after CreateVpnGatewayCommon Send returns without error.

See CreateVpnGateway for more information on using the CreateVpnGateway API call, and error handling.

// Example sending a request using the CreateVpnGatewayRequest method.
req, resp := client.CreateVpnGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateVpnGatewayRoute

func (c *VPN) CreateVpnGatewayRoute(input *CreateVpnGatewayRouteInput) (*CreateVpnGatewayRouteOutput, error)

CreateVpnGatewayRoute API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateVpnGatewayRoute for usage and error information.

func (*VPN) CreateVpnGatewayRouteCommon

func (c *VPN) CreateVpnGatewayRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateVpnGatewayRouteCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation CreateVpnGatewayRouteCommon for usage and error information.

func (*VPN) CreateVpnGatewayRouteCommonRequest

func (c *VPN) CreateVpnGatewayRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateVpnGatewayRouteCommonRequest generates a "volcstack/request.Request" representing the client's request for the CreateVpnGatewayRouteCommon operation. The "output" return value will be populated with the CreateVpnGatewayRouteCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateVpnGatewayRouteCommon Request to send the API call to the service. the "output" return value is not valid until after CreateVpnGatewayRouteCommon Send returns without error.

See CreateVpnGatewayRouteCommon for more information on using the CreateVpnGatewayRouteCommon API call, and error handling.

// Example sending a request using the CreateVpnGatewayRouteCommonRequest method.
req, resp := client.CreateVpnGatewayRouteCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateVpnGatewayRouteCommonWithContext

func (c *VPN) CreateVpnGatewayRouteCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateVpnGatewayRouteCommonWithContext is the same as CreateVpnGatewayRouteCommon with the addition of the ability to pass a context and additional request options.

See CreateVpnGatewayRouteCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) CreateVpnGatewayRouteRequest

func (c *VPN) CreateVpnGatewayRouteRequest(input *CreateVpnGatewayRouteInput) (req *request.Request, output *CreateVpnGatewayRouteOutput)

CreateVpnGatewayRouteRequest generates a "volcstack/request.Request" representing the client's request for the CreateVpnGatewayRoute operation. The "output" return value will be populated with the CreateVpnGatewayRouteCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateVpnGatewayRouteCommon Request to send the API call to the service. the "output" return value is not valid until after CreateVpnGatewayRouteCommon Send returns without error.

See CreateVpnGatewayRoute for more information on using the CreateVpnGatewayRoute API call, and error handling.

// Example sending a request using the CreateVpnGatewayRouteRequest method.
req, resp := client.CreateVpnGatewayRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) CreateVpnGatewayRouteWithContext

func (c *VPN) CreateVpnGatewayRouteWithContext(ctx volcstack.Context, input *CreateVpnGatewayRouteInput, opts ...request.Option) (*CreateVpnGatewayRouteOutput, error)

CreateVpnGatewayRouteWithContext is the same as CreateVpnGatewayRoute with the addition of the ability to pass a context and additional request options.

See CreateVpnGatewayRoute for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) CreateVpnGatewayWithContext

func (c *VPN) CreateVpnGatewayWithContext(ctx volcstack.Context, input *CreateVpnGatewayInput, opts ...request.Option) (*CreateVpnGatewayOutput, error)

CreateVpnGatewayWithContext is the same as CreateVpnGateway with the addition of the ability to pass a context and additional request options.

See CreateVpnGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteCustomerGateway

func (c *VPN) DeleteCustomerGateway(input *DeleteCustomerGatewayInput) (*DeleteCustomerGatewayOutput, error)

DeleteCustomerGateway API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteCustomerGateway for usage and error information.

func (*VPN) DeleteCustomerGatewayCommon

func (c *VPN) DeleteCustomerGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteCustomerGatewayCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteCustomerGatewayCommon for usage and error information.

func (*VPN) DeleteCustomerGatewayCommonRequest

func (c *VPN) DeleteCustomerGatewayCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteCustomerGatewayCommonRequest generates a "volcstack/request.Request" representing the client's request for the DeleteCustomerGatewayCommon operation. The "output" return value will be populated with the DeleteCustomerGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteCustomerGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteCustomerGatewayCommon Send returns without error.

See DeleteCustomerGatewayCommon for more information on using the DeleteCustomerGatewayCommon API call, and error handling.

// Example sending a request using the DeleteCustomerGatewayCommonRequest method.
req, resp := client.DeleteCustomerGatewayCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteCustomerGatewayCommonWithContext

func (c *VPN) DeleteCustomerGatewayCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteCustomerGatewayCommonWithContext is the same as DeleteCustomerGatewayCommon with the addition of the ability to pass a context and additional request options.

See DeleteCustomerGatewayCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteCustomerGatewayRequest

func (c *VPN) DeleteCustomerGatewayRequest(input *DeleteCustomerGatewayInput) (req *request.Request, output *DeleteCustomerGatewayOutput)

DeleteCustomerGatewayRequest generates a "volcstack/request.Request" representing the client's request for the DeleteCustomerGateway operation. The "output" return value will be populated with the DeleteCustomerGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteCustomerGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteCustomerGatewayCommon Send returns without error.

See DeleteCustomerGateway for more information on using the DeleteCustomerGateway API call, and error handling.

// Example sending a request using the DeleteCustomerGatewayRequest method.
req, resp := client.DeleteCustomerGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteCustomerGatewayWithContext

func (c *VPN) DeleteCustomerGatewayWithContext(ctx volcstack.Context, input *DeleteCustomerGatewayInput, opts ...request.Option) (*DeleteCustomerGatewayOutput, error)

DeleteCustomerGatewayWithContext is the same as DeleteCustomerGateway with the addition of the ability to pass a context and additional request options.

See DeleteCustomerGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteVpnConnection

func (c *VPN) DeleteVpnConnection(input *DeleteVpnConnectionInput) (*DeleteVpnConnectionOutput, error)

DeleteVpnConnection API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteVpnConnection for usage and error information.

func (*VPN) DeleteVpnConnectionCommon

func (c *VPN) DeleteVpnConnectionCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteVpnConnectionCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteVpnConnectionCommon for usage and error information.

func (*VPN) DeleteVpnConnectionCommonRequest

func (c *VPN) DeleteVpnConnectionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteVpnConnectionCommonRequest generates a "volcstack/request.Request" representing the client's request for the DeleteVpnConnectionCommon operation. The "output" return value will be populated with the DeleteVpnConnectionCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteVpnConnectionCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteVpnConnectionCommon Send returns without error.

See DeleteVpnConnectionCommon for more information on using the DeleteVpnConnectionCommon API call, and error handling.

// Example sending a request using the DeleteVpnConnectionCommonRequest method.
req, resp := client.DeleteVpnConnectionCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteVpnConnectionCommonWithContext

func (c *VPN) DeleteVpnConnectionCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteVpnConnectionCommonWithContext is the same as DeleteVpnConnectionCommon with the addition of the ability to pass a context and additional request options.

See DeleteVpnConnectionCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteVpnConnectionRequest

func (c *VPN) DeleteVpnConnectionRequest(input *DeleteVpnConnectionInput) (req *request.Request, output *DeleteVpnConnectionOutput)

DeleteVpnConnectionRequest generates a "volcstack/request.Request" representing the client's request for the DeleteVpnConnection operation. The "output" return value will be populated with the DeleteVpnConnectionCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteVpnConnectionCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteVpnConnectionCommon Send returns without error.

See DeleteVpnConnection for more information on using the DeleteVpnConnection API call, and error handling.

// Example sending a request using the DeleteVpnConnectionRequest method.
req, resp := client.DeleteVpnConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteVpnConnectionWithContext

func (c *VPN) DeleteVpnConnectionWithContext(ctx volcstack.Context, input *DeleteVpnConnectionInput, opts ...request.Option) (*DeleteVpnConnectionOutput, error)

DeleteVpnConnectionWithContext is the same as DeleteVpnConnection with the addition of the ability to pass a context and additional request options.

See DeleteVpnConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteVpnGateway

func (c *VPN) DeleteVpnGateway(input *DeleteVpnGatewayInput) (*DeleteVpnGatewayOutput, error)

DeleteVpnGateway API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteVpnGateway for usage and error information.

func (*VPN) DeleteVpnGatewayCommon

func (c *VPN) DeleteVpnGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteVpnGatewayCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteVpnGatewayCommon for usage and error information.

func (*VPN) DeleteVpnGatewayCommonRequest

func (c *VPN) DeleteVpnGatewayCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteVpnGatewayCommonRequest generates a "volcstack/request.Request" representing the client's request for the DeleteVpnGatewayCommon operation. The "output" return value will be populated with the DeleteVpnGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteVpnGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteVpnGatewayCommon Send returns without error.

See DeleteVpnGatewayCommon for more information on using the DeleteVpnGatewayCommon API call, and error handling.

// Example sending a request using the DeleteVpnGatewayCommonRequest method.
req, resp := client.DeleteVpnGatewayCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteVpnGatewayCommonWithContext

func (c *VPN) DeleteVpnGatewayCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteVpnGatewayCommonWithContext is the same as DeleteVpnGatewayCommon with the addition of the ability to pass a context and additional request options.

See DeleteVpnGatewayCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteVpnGatewayRequest

func (c *VPN) DeleteVpnGatewayRequest(input *DeleteVpnGatewayInput) (req *request.Request, output *DeleteVpnGatewayOutput)

DeleteVpnGatewayRequest generates a "volcstack/request.Request" representing the client's request for the DeleteVpnGateway operation. The "output" return value will be populated with the DeleteVpnGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteVpnGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteVpnGatewayCommon Send returns without error.

See DeleteVpnGateway for more information on using the DeleteVpnGateway API call, and error handling.

// Example sending a request using the DeleteVpnGatewayRequest method.
req, resp := client.DeleteVpnGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteVpnGatewayRoute

func (c *VPN) DeleteVpnGatewayRoute(input *DeleteVpnGatewayRouteInput) (*DeleteVpnGatewayRouteOutput, error)

DeleteVpnGatewayRoute API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteVpnGatewayRoute for usage and error information.

func (*VPN) DeleteVpnGatewayRouteCommon

func (c *VPN) DeleteVpnGatewayRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteVpnGatewayRouteCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DeleteVpnGatewayRouteCommon for usage and error information.

func (*VPN) DeleteVpnGatewayRouteCommonRequest

func (c *VPN) DeleteVpnGatewayRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteVpnGatewayRouteCommonRequest generates a "volcstack/request.Request" representing the client's request for the DeleteVpnGatewayRouteCommon operation. The "output" return value will be populated with the DeleteVpnGatewayRouteCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteVpnGatewayRouteCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteVpnGatewayRouteCommon Send returns without error.

See DeleteVpnGatewayRouteCommon for more information on using the DeleteVpnGatewayRouteCommon API call, and error handling.

// Example sending a request using the DeleteVpnGatewayRouteCommonRequest method.
req, resp := client.DeleteVpnGatewayRouteCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteVpnGatewayRouteCommonWithContext

func (c *VPN) DeleteVpnGatewayRouteCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteVpnGatewayRouteCommonWithContext is the same as DeleteVpnGatewayRouteCommon with the addition of the ability to pass a context and additional request options.

See DeleteVpnGatewayRouteCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteVpnGatewayRouteRequest

func (c *VPN) DeleteVpnGatewayRouteRequest(input *DeleteVpnGatewayRouteInput) (req *request.Request, output *DeleteVpnGatewayRouteOutput)

DeleteVpnGatewayRouteRequest generates a "volcstack/request.Request" representing the client's request for the DeleteVpnGatewayRoute operation. The "output" return value will be populated with the DeleteVpnGatewayRouteCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteVpnGatewayRouteCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteVpnGatewayRouteCommon Send returns without error.

See DeleteVpnGatewayRoute for more information on using the DeleteVpnGatewayRoute API call, and error handling.

// Example sending a request using the DeleteVpnGatewayRouteRequest method.
req, resp := client.DeleteVpnGatewayRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DeleteVpnGatewayRouteWithContext

func (c *VPN) DeleteVpnGatewayRouteWithContext(ctx volcstack.Context, input *DeleteVpnGatewayRouteInput, opts ...request.Option) (*DeleteVpnGatewayRouteOutput, error)

DeleteVpnGatewayRouteWithContext is the same as DeleteVpnGatewayRoute with the addition of the ability to pass a context and additional request options.

See DeleteVpnGatewayRoute for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DeleteVpnGatewayWithContext

func (c *VPN) DeleteVpnGatewayWithContext(ctx volcstack.Context, input *DeleteVpnGatewayInput, opts ...request.Option) (*DeleteVpnGatewayOutput, error)

DeleteVpnGatewayWithContext is the same as DeleteVpnGateway with the addition of the ability to pass a context and additional request options.

See DeleteVpnGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeCustomerGatewayAttributes

func (c *VPN) DescribeCustomerGatewayAttributes(input *DescribeCustomerGatewayAttributesInput) (*DescribeCustomerGatewayAttributesOutput, error)

DescribeCustomerGatewayAttributes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeCustomerGatewayAttributes for usage and error information.

func (*VPN) DescribeCustomerGatewayAttributesCommon

func (c *VPN) DescribeCustomerGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeCustomerGatewayAttributesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeCustomerGatewayAttributesCommon for usage and error information.

func (*VPN) DescribeCustomerGatewayAttributesCommonRequest

func (c *VPN) DescribeCustomerGatewayAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeCustomerGatewayAttributesCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeCustomerGatewayAttributesCommon operation. The "output" return value will be populated with the DescribeCustomerGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeCustomerGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeCustomerGatewayAttributesCommon Send returns without error.

See DescribeCustomerGatewayAttributesCommon for more information on using the DescribeCustomerGatewayAttributesCommon API call, and error handling.

// Example sending a request using the DescribeCustomerGatewayAttributesCommonRequest method.
req, resp := client.DescribeCustomerGatewayAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeCustomerGatewayAttributesCommonWithContext

func (c *VPN) DescribeCustomerGatewayAttributesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeCustomerGatewayAttributesCommonWithContext is the same as DescribeCustomerGatewayAttributesCommon with the addition of the ability to pass a context and additional request options.

See DescribeCustomerGatewayAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeCustomerGatewayAttributesRequest

func (c *VPN) DescribeCustomerGatewayAttributesRequest(input *DescribeCustomerGatewayAttributesInput) (req *request.Request, output *DescribeCustomerGatewayAttributesOutput)

DescribeCustomerGatewayAttributesRequest generates a "volcstack/request.Request" representing the client's request for the DescribeCustomerGatewayAttributes operation. The "output" return value will be populated with the DescribeCustomerGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeCustomerGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeCustomerGatewayAttributesCommon Send returns without error.

See DescribeCustomerGatewayAttributes for more information on using the DescribeCustomerGatewayAttributes API call, and error handling.

// Example sending a request using the DescribeCustomerGatewayAttributesRequest method.
req, resp := client.DescribeCustomerGatewayAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeCustomerGatewayAttributesWithContext

func (c *VPN) DescribeCustomerGatewayAttributesWithContext(ctx volcstack.Context, input *DescribeCustomerGatewayAttributesInput, opts ...request.Option) (*DescribeCustomerGatewayAttributesOutput, error)

DescribeCustomerGatewayAttributesWithContext is the same as DescribeCustomerGatewayAttributes with the addition of the ability to pass a context and additional request options.

See DescribeCustomerGatewayAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeCustomerGateways

func (c *VPN) DescribeCustomerGateways(input *DescribeCustomerGatewaysInput) (*DescribeCustomerGatewaysOutput, error)

DescribeCustomerGateways API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeCustomerGateways for usage and error information.

func (*VPN) DescribeCustomerGatewaysCommon

func (c *VPN) DescribeCustomerGatewaysCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeCustomerGatewaysCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeCustomerGatewaysCommon for usage and error information.

func (*VPN) DescribeCustomerGatewaysCommonRequest

func (c *VPN) DescribeCustomerGatewaysCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeCustomerGatewaysCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeCustomerGatewaysCommon operation. The "output" return value will be populated with the DescribeCustomerGatewaysCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeCustomerGatewaysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeCustomerGatewaysCommon Send returns without error.

See DescribeCustomerGatewaysCommon for more information on using the DescribeCustomerGatewaysCommon API call, and error handling.

// Example sending a request using the DescribeCustomerGatewaysCommonRequest method.
req, resp := client.DescribeCustomerGatewaysCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeCustomerGatewaysCommonWithContext

func (c *VPN) DescribeCustomerGatewaysCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeCustomerGatewaysCommonWithContext is the same as DescribeCustomerGatewaysCommon with the addition of the ability to pass a context and additional request options.

See DescribeCustomerGatewaysCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeCustomerGatewaysRequest

func (c *VPN) DescribeCustomerGatewaysRequest(input *DescribeCustomerGatewaysInput) (req *request.Request, output *DescribeCustomerGatewaysOutput)

DescribeCustomerGatewaysRequest generates a "volcstack/request.Request" representing the client's request for the DescribeCustomerGateways operation. The "output" return value will be populated with the DescribeCustomerGatewaysCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeCustomerGatewaysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeCustomerGatewaysCommon Send returns without error.

See DescribeCustomerGateways for more information on using the DescribeCustomerGateways API call, and error handling.

// Example sending a request using the DescribeCustomerGatewaysRequest method.
req, resp := client.DescribeCustomerGatewaysRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeCustomerGatewaysWithContext

func (c *VPN) DescribeCustomerGatewaysWithContext(ctx volcstack.Context, input *DescribeCustomerGatewaysInput, opts ...request.Option) (*DescribeCustomerGatewaysOutput, error)

DescribeCustomerGatewaysWithContext is the same as DescribeCustomerGateways with the addition of the ability to pass a context and additional request options.

See DescribeCustomerGateways for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnConnectionAttributes

func (c *VPN) DescribeVpnConnectionAttributes(input *DescribeVpnConnectionAttributesInput) (*DescribeVpnConnectionAttributesOutput, error)

DescribeVpnConnectionAttributes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnConnectionAttributes for usage and error information.

func (*VPN) DescribeVpnConnectionAttributesCommon

func (c *VPN) DescribeVpnConnectionAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVpnConnectionAttributesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnConnectionAttributesCommon for usage and error information.

func (*VPN) DescribeVpnConnectionAttributesCommonRequest

func (c *VPN) DescribeVpnConnectionAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeVpnConnectionAttributesCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnConnectionAttributesCommon operation. The "output" return value will be populated with the DescribeVpnConnectionAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnConnectionAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnConnectionAttributesCommon Send returns without error.

See DescribeVpnConnectionAttributesCommon for more information on using the DescribeVpnConnectionAttributesCommon API call, and error handling.

// Example sending a request using the DescribeVpnConnectionAttributesCommonRequest method.
req, resp := client.DescribeVpnConnectionAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnConnectionAttributesCommonWithContext

func (c *VPN) DescribeVpnConnectionAttributesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeVpnConnectionAttributesCommonWithContext is the same as DescribeVpnConnectionAttributesCommon with the addition of the ability to pass a context and additional request options.

See DescribeVpnConnectionAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnConnectionAttributesRequest

func (c *VPN) DescribeVpnConnectionAttributesRequest(input *DescribeVpnConnectionAttributesInput) (req *request.Request, output *DescribeVpnConnectionAttributesOutput)

DescribeVpnConnectionAttributesRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnConnectionAttributes operation. The "output" return value will be populated with the DescribeVpnConnectionAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnConnectionAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnConnectionAttributesCommon Send returns without error.

See DescribeVpnConnectionAttributes for more information on using the DescribeVpnConnectionAttributes API call, and error handling.

// Example sending a request using the DescribeVpnConnectionAttributesRequest method.
req, resp := client.DescribeVpnConnectionAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnConnectionAttributesWithContext

func (c *VPN) DescribeVpnConnectionAttributesWithContext(ctx volcstack.Context, input *DescribeVpnConnectionAttributesInput, opts ...request.Option) (*DescribeVpnConnectionAttributesOutput, error)

DescribeVpnConnectionAttributesWithContext is the same as DescribeVpnConnectionAttributes with the addition of the ability to pass a context and additional request options.

See DescribeVpnConnectionAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnConnections

func (c *VPN) DescribeVpnConnections(input *DescribeVpnConnectionsInput) (*DescribeVpnConnectionsOutput, error)

DescribeVpnConnections API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnConnections for usage and error information.

func (*VPN) DescribeVpnConnectionsCommon

func (c *VPN) DescribeVpnConnectionsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVpnConnectionsCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnConnectionsCommon for usage and error information.

func (*VPN) DescribeVpnConnectionsCommonRequest

func (c *VPN) DescribeVpnConnectionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeVpnConnectionsCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnConnectionsCommon operation. The "output" return value will be populated with the DescribeVpnConnectionsCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnConnectionsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnConnectionsCommon Send returns without error.

See DescribeVpnConnectionsCommon for more information on using the DescribeVpnConnectionsCommon API call, and error handling.

// Example sending a request using the DescribeVpnConnectionsCommonRequest method.
req, resp := client.DescribeVpnConnectionsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnConnectionsCommonWithContext

func (c *VPN) DescribeVpnConnectionsCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeVpnConnectionsCommonWithContext is the same as DescribeVpnConnectionsCommon with the addition of the ability to pass a context and additional request options.

See DescribeVpnConnectionsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnConnectionsRequest

func (c *VPN) DescribeVpnConnectionsRequest(input *DescribeVpnConnectionsInput) (req *request.Request, output *DescribeVpnConnectionsOutput)

DescribeVpnConnectionsRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnConnections operation. The "output" return value will be populated with the DescribeVpnConnectionsCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnConnectionsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnConnectionsCommon Send returns without error.

See DescribeVpnConnections for more information on using the DescribeVpnConnections API call, and error handling.

// Example sending a request using the DescribeVpnConnectionsRequest method.
req, resp := client.DescribeVpnConnectionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnConnectionsWithContext

func (c *VPN) DescribeVpnConnectionsWithContext(ctx volcstack.Context, input *DescribeVpnConnectionsInput, opts ...request.Option) (*DescribeVpnConnectionsOutput, error)

DescribeVpnConnectionsWithContext is the same as DescribeVpnConnections with the addition of the ability to pass a context and additional request options.

See DescribeVpnConnections for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewayAttributes

func (c *VPN) DescribeVpnGatewayAttributes(input *DescribeVpnGatewayAttributesInput) (*DescribeVpnGatewayAttributesOutput, error)

DescribeVpnGatewayAttributes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewayAttributes for usage and error information.

func (*VPN) DescribeVpnGatewayAttributesCommon

func (c *VPN) DescribeVpnGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVpnGatewayAttributesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewayAttributesCommon for usage and error information.

func (*VPN) DescribeVpnGatewayAttributesCommonRequest

func (c *VPN) DescribeVpnGatewayAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeVpnGatewayAttributesCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewayAttributesCommon operation. The "output" return value will be populated with the DescribeVpnGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewayAttributesCommon Send returns without error.

See DescribeVpnGatewayAttributesCommon for more information on using the DescribeVpnGatewayAttributesCommon API call, and error handling.

// Example sending a request using the DescribeVpnGatewayAttributesCommonRequest method.
req, resp := client.DescribeVpnGatewayAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewayAttributesCommonWithContext

func (c *VPN) DescribeVpnGatewayAttributesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeVpnGatewayAttributesCommonWithContext is the same as DescribeVpnGatewayAttributesCommon with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewayAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewayAttributesRequest

func (c *VPN) DescribeVpnGatewayAttributesRequest(input *DescribeVpnGatewayAttributesInput) (req *request.Request, output *DescribeVpnGatewayAttributesOutput)

DescribeVpnGatewayAttributesRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewayAttributes operation. The "output" return value will be populated with the DescribeVpnGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewayAttributesCommon Send returns without error.

See DescribeVpnGatewayAttributes for more information on using the DescribeVpnGatewayAttributes API call, and error handling.

// Example sending a request using the DescribeVpnGatewayAttributesRequest method.
req, resp := client.DescribeVpnGatewayAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewayAttributesWithContext

func (c *VPN) DescribeVpnGatewayAttributesWithContext(ctx volcstack.Context, input *DescribeVpnGatewayAttributesInput, opts ...request.Option) (*DescribeVpnGatewayAttributesOutput, error)

DescribeVpnGatewayAttributesWithContext is the same as DescribeVpnGatewayAttributes with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewayAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewayRouteAttributes

func (c *VPN) DescribeVpnGatewayRouteAttributes(input *DescribeVpnGatewayRouteAttributesInput) (*DescribeVpnGatewayRouteAttributesOutput, error)

DescribeVpnGatewayRouteAttributes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewayRouteAttributes for usage and error information.

func (*VPN) DescribeVpnGatewayRouteAttributesCommon

func (c *VPN) DescribeVpnGatewayRouteAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVpnGatewayRouteAttributesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewayRouteAttributesCommon for usage and error information.

func (*VPN) DescribeVpnGatewayRouteAttributesCommonRequest

func (c *VPN) DescribeVpnGatewayRouteAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeVpnGatewayRouteAttributesCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewayRouteAttributesCommon operation. The "output" return value will be populated with the DescribeVpnGatewayRouteAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewayRouteAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewayRouteAttributesCommon Send returns without error.

See DescribeVpnGatewayRouteAttributesCommon for more information on using the DescribeVpnGatewayRouteAttributesCommon API call, and error handling.

// Example sending a request using the DescribeVpnGatewayRouteAttributesCommonRequest method.
req, resp := client.DescribeVpnGatewayRouteAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewayRouteAttributesCommonWithContext

func (c *VPN) DescribeVpnGatewayRouteAttributesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeVpnGatewayRouteAttributesCommonWithContext is the same as DescribeVpnGatewayRouteAttributesCommon with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewayRouteAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewayRouteAttributesRequest

func (c *VPN) DescribeVpnGatewayRouteAttributesRequest(input *DescribeVpnGatewayRouteAttributesInput) (req *request.Request, output *DescribeVpnGatewayRouteAttributesOutput)

DescribeVpnGatewayRouteAttributesRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewayRouteAttributes operation. The "output" return value will be populated with the DescribeVpnGatewayRouteAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewayRouteAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewayRouteAttributesCommon Send returns without error.

See DescribeVpnGatewayRouteAttributes for more information on using the DescribeVpnGatewayRouteAttributes API call, and error handling.

// Example sending a request using the DescribeVpnGatewayRouteAttributesRequest method.
req, resp := client.DescribeVpnGatewayRouteAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewayRouteAttributesWithContext

func (c *VPN) DescribeVpnGatewayRouteAttributesWithContext(ctx volcstack.Context, input *DescribeVpnGatewayRouteAttributesInput, opts ...request.Option) (*DescribeVpnGatewayRouteAttributesOutput, error)

DescribeVpnGatewayRouteAttributesWithContext is the same as DescribeVpnGatewayRouteAttributes with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewayRouteAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewayRoutes

func (c *VPN) DescribeVpnGatewayRoutes(input *DescribeVpnGatewayRoutesInput) (*DescribeVpnGatewayRoutesOutput, error)

DescribeVpnGatewayRoutes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewayRoutes for usage and error information.

func (*VPN) DescribeVpnGatewayRoutesCommon

func (c *VPN) DescribeVpnGatewayRoutesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVpnGatewayRoutesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewayRoutesCommon for usage and error information.

func (*VPN) DescribeVpnGatewayRoutesCommonRequest

func (c *VPN) DescribeVpnGatewayRoutesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeVpnGatewayRoutesCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewayRoutesCommon operation. The "output" return value will be populated with the DescribeVpnGatewayRoutesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewayRoutesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewayRoutesCommon Send returns without error.

See DescribeVpnGatewayRoutesCommon for more information on using the DescribeVpnGatewayRoutesCommon API call, and error handling.

// Example sending a request using the DescribeVpnGatewayRoutesCommonRequest method.
req, resp := client.DescribeVpnGatewayRoutesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewayRoutesCommonWithContext

func (c *VPN) DescribeVpnGatewayRoutesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeVpnGatewayRoutesCommonWithContext is the same as DescribeVpnGatewayRoutesCommon with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewayRoutesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewayRoutesRequest

func (c *VPN) DescribeVpnGatewayRoutesRequest(input *DescribeVpnGatewayRoutesInput) (req *request.Request, output *DescribeVpnGatewayRoutesOutput)

DescribeVpnGatewayRoutesRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewayRoutes operation. The "output" return value will be populated with the DescribeVpnGatewayRoutesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewayRoutesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewayRoutesCommon Send returns without error.

See DescribeVpnGatewayRoutes for more information on using the DescribeVpnGatewayRoutes API call, and error handling.

// Example sending a request using the DescribeVpnGatewayRoutesRequest method.
req, resp := client.DescribeVpnGatewayRoutesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewayRoutesWithContext

func (c *VPN) DescribeVpnGatewayRoutesWithContext(ctx volcstack.Context, input *DescribeVpnGatewayRoutesInput, opts ...request.Option) (*DescribeVpnGatewayRoutesOutput, error)

DescribeVpnGatewayRoutesWithContext is the same as DescribeVpnGatewayRoutes with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewayRoutes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGateways

func (c *VPN) DescribeVpnGateways(input *DescribeVpnGatewaysInput) (*DescribeVpnGatewaysOutput, error)

DescribeVpnGateways API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGateways for usage and error information.

func (*VPN) DescribeVpnGatewaysBilling

func (c *VPN) DescribeVpnGatewaysBilling(input *DescribeVpnGatewaysBillingInput) (*DescribeVpnGatewaysBillingOutput, error)

DescribeVpnGatewaysBilling API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewaysBilling for usage and error information.

func (*VPN) DescribeVpnGatewaysBillingCommon

func (c *VPN) DescribeVpnGatewaysBillingCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVpnGatewaysBillingCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewaysBillingCommon for usage and error information.

func (*VPN) DescribeVpnGatewaysBillingCommonRequest

func (c *VPN) DescribeVpnGatewaysBillingCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeVpnGatewaysBillingCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewaysBillingCommon operation. The "output" return value will be populated with the DescribeVpnGatewaysBillingCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewaysBillingCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewaysBillingCommon Send returns without error.

See DescribeVpnGatewaysBillingCommon for more information on using the DescribeVpnGatewaysBillingCommon API call, and error handling.

// Example sending a request using the DescribeVpnGatewaysBillingCommonRequest method.
req, resp := client.DescribeVpnGatewaysBillingCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewaysBillingCommonWithContext

func (c *VPN) DescribeVpnGatewaysBillingCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeVpnGatewaysBillingCommonWithContext is the same as DescribeVpnGatewaysBillingCommon with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewaysBillingCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewaysBillingRequest

func (c *VPN) DescribeVpnGatewaysBillingRequest(input *DescribeVpnGatewaysBillingInput) (req *request.Request, output *DescribeVpnGatewaysBillingOutput)

DescribeVpnGatewaysBillingRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewaysBilling operation. The "output" return value will be populated with the DescribeVpnGatewaysBillingCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewaysBillingCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewaysBillingCommon Send returns without error.

See DescribeVpnGatewaysBilling for more information on using the DescribeVpnGatewaysBilling API call, and error handling.

// Example sending a request using the DescribeVpnGatewaysBillingRequest method.
req, resp := client.DescribeVpnGatewaysBillingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewaysBillingWithContext

func (c *VPN) DescribeVpnGatewaysBillingWithContext(ctx volcstack.Context, input *DescribeVpnGatewaysBillingInput, opts ...request.Option) (*DescribeVpnGatewaysBillingOutput, error)

DescribeVpnGatewaysBillingWithContext is the same as DescribeVpnGatewaysBilling with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewaysBilling for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewaysCommon

func (c *VPN) DescribeVpnGatewaysCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVpnGatewaysCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation DescribeVpnGatewaysCommon for usage and error information.

func (*VPN) DescribeVpnGatewaysCommonRequest

func (c *VPN) DescribeVpnGatewaysCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeVpnGatewaysCommonRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGatewaysCommon operation. The "output" return value will be populated with the DescribeVpnGatewaysCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewaysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewaysCommon Send returns without error.

See DescribeVpnGatewaysCommon for more information on using the DescribeVpnGatewaysCommon API call, and error handling.

// Example sending a request using the DescribeVpnGatewaysCommonRequest method.
req, resp := client.DescribeVpnGatewaysCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewaysCommonWithContext

func (c *VPN) DescribeVpnGatewaysCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeVpnGatewaysCommonWithContext is the same as DescribeVpnGatewaysCommon with the addition of the ability to pass a context and additional request options.

See DescribeVpnGatewaysCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) DescribeVpnGatewaysRequest

func (c *VPN) DescribeVpnGatewaysRequest(input *DescribeVpnGatewaysInput) (req *request.Request, output *DescribeVpnGatewaysOutput)

DescribeVpnGatewaysRequest generates a "volcstack/request.Request" representing the client's request for the DescribeVpnGateways operation. The "output" return value will be populated with the DescribeVpnGatewaysCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeVpnGatewaysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeVpnGatewaysCommon Send returns without error.

See DescribeVpnGateways for more information on using the DescribeVpnGateways API call, and error handling.

// Example sending a request using the DescribeVpnGatewaysRequest method.
req, resp := client.DescribeVpnGatewaysRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) DescribeVpnGatewaysWithContext

func (c *VPN) DescribeVpnGatewaysWithContext(ctx volcstack.Context, input *DescribeVpnGatewaysInput, opts ...request.Option) (*DescribeVpnGatewaysOutput, error)

DescribeVpnGatewaysWithContext is the same as DescribeVpnGateways with the addition of the ability to pass a context and additional request options.

See DescribeVpnGateways for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) ModifyCustomerGatewayAttributes

func (c *VPN) ModifyCustomerGatewayAttributes(input *ModifyCustomerGatewayAttributesInput) (*ModifyCustomerGatewayAttributesOutput, error)

ModifyCustomerGatewayAttributes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation ModifyCustomerGatewayAttributes for usage and error information.

func (*VPN) ModifyCustomerGatewayAttributesCommon

func (c *VPN) ModifyCustomerGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyCustomerGatewayAttributesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation ModifyCustomerGatewayAttributesCommon for usage and error information.

func (*VPN) ModifyCustomerGatewayAttributesCommonRequest

func (c *VPN) ModifyCustomerGatewayAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyCustomerGatewayAttributesCommonRequest generates a "volcstack/request.Request" representing the client's request for the ModifyCustomerGatewayAttributesCommon operation. The "output" return value will be populated with the ModifyCustomerGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyCustomerGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyCustomerGatewayAttributesCommon Send returns without error.

See ModifyCustomerGatewayAttributesCommon for more information on using the ModifyCustomerGatewayAttributesCommon API call, and error handling.

// Example sending a request using the ModifyCustomerGatewayAttributesCommonRequest method.
req, resp := client.ModifyCustomerGatewayAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) ModifyCustomerGatewayAttributesCommonWithContext

func (c *VPN) ModifyCustomerGatewayAttributesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyCustomerGatewayAttributesCommonWithContext is the same as ModifyCustomerGatewayAttributesCommon with the addition of the ability to pass a context and additional request options.

See ModifyCustomerGatewayAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) ModifyCustomerGatewayAttributesRequest

func (c *VPN) ModifyCustomerGatewayAttributesRequest(input *ModifyCustomerGatewayAttributesInput) (req *request.Request, output *ModifyCustomerGatewayAttributesOutput)

ModifyCustomerGatewayAttributesRequest generates a "volcstack/request.Request" representing the client's request for the ModifyCustomerGatewayAttributes operation. The "output" return value will be populated with the ModifyCustomerGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyCustomerGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyCustomerGatewayAttributesCommon Send returns without error.

See ModifyCustomerGatewayAttributes for more information on using the ModifyCustomerGatewayAttributes API call, and error handling.

// Example sending a request using the ModifyCustomerGatewayAttributesRequest method.
req, resp := client.ModifyCustomerGatewayAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) ModifyCustomerGatewayAttributesWithContext

func (c *VPN) ModifyCustomerGatewayAttributesWithContext(ctx volcstack.Context, input *ModifyCustomerGatewayAttributesInput, opts ...request.Option) (*ModifyCustomerGatewayAttributesOutput, error)

ModifyCustomerGatewayAttributesWithContext is the same as ModifyCustomerGatewayAttributes with the addition of the ability to pass a context and additional request options.

See ModifyCustomerGatewayAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) ModifyVpnConnectionAttributes

func (c *VPN) ModifyVpnConnectionAttributes(input *ModifyVpnConnectionAttributesInput) (*ModifyVpnConnectionAttributesOutput, error)

ModifyVpnConnectionAttributes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation ModifyVpnConnectionAttributes for usage and error information.

func (*VPN) ModifyVpnConnectionAttributesCommon

func (c *VPN) ModifyVpnConnectionAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyVpnConnectionAttributesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation ModifyVpnConnectionAttributesCommon for usage and error information.

func (*VPN) ModifyVpnConnectionAttributesCommonRequest

func (c *VPN) ModifyVpnConnectionAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyVpnConnectionAttributesCommonRequest generates a "volcstack/request.Request" representing the client's request for the ModifyVpnConnectionAttributesCommon operation. The "output" return value will be populated with the ModifyVpnConnectionAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyVpnConnectionAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyVpnConnectionAttributesCommon Send returns without error.

See ModifyVpnConnectionAttributesCommon for more information on using the ModifyVpnConnectionAttributesCommon API call, and error handling.

// Example sending a request using the ModifyVpnConnectionAttributesCommonRequest method.
req, resp := client.ModifyVpnConnectionAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) ModifyVpnConnectionAttributesCommonWithContext

func (c *VPN) ModifyVpnConnectionAttributesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyVpnConnectionAttributesCommonWithContext is the same as ModifyVpnConnectionAttributesCommon with the addition of the ability to pass a context and additional request options.

See ModifyVpnConnectionAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) ModifyVpnConnectionAttributesRequest

func (c *VPN) ModifyVpnConnectionAttributesRequest(input *ModifyVpnConnectionAttributesInput) (req *request.Request, output *ModifyVpnConnectionAttributesOutput)

ModifyVpnConnectionAttributesRequest generates a "volcstack/request.Request" representing the client's request for the ModifyVpnConnectionAttributes operation. The "output" return value will be populated with the ModifyVpnConnectionAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyVpnConnectionAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyVpnConnectionAttributesCommon Send returns without error.

See ModifyVpnConnectionAttributes for more information on using the ModifyVpnConnectionAttributes API call, and error handling.

// Example sending a request using the ModifyVpnConnectionAttributesRequest method.
req, resp := client.ModifyVpnConnectionAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) ModifyVpnConnectionAttributesWithContext

func (c *VPN) ModifyVpnConnectionAttributesWithContext(ctx volcstack.Context, input *ModifyVpnConnectionAttributesInput, opts ...request.Option) (*ModifyVpnConnectionAttributesOutput, error)

ModifyVpnConnectionAttributesWithContext is the same as ModifyVpnConnectionAttributes with the addition of the ability to pass a context and additional request options.

See ModifyVpnConnectionAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) ModifyVpnGatewayAttributes

func (c *VPN) ModifyVpnGatewayAttributes(input *ModifyVpnGatewayAttributesInput) (*ModifyVpnGatewayAttributesOutput, error)

ModifyVpnGatewayAttributes API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation ModifyVpnGatewayAttributes for usage and error information.

func (*VPN) ModifyVpnGatewayAttributesCommon

func (c *VPN) ModifyVpnGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyVpnGatewayAttributesCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation ModifyVpnGatewayAttributesCommon for usage and error information.

func (*VPN) ModifyVpnGatewayAttributesCommonRequest

func (c *VPN) ModifyVpnGatewayAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyVpnGatewayAttributesCommonRequest generates a "volcstack/request.Request" representing the client's request for the ModifyVpnGatewayAttributesCommon operation. The "output" return value will be populated with the ModifyVpnGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyVpnGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyVpnGatewayAttributesCommon Send returns without error.

See ModifyVpnGatewayAttributesCommon for more information on using the ModifyVpnGatewayAttributesCommon API call, and error handling.

// Example sending a request using the ModifyVpnGatewayAttributesCommonRequest method.
req, resp := client.ModifyVpnGatewayAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) ModifyVpnGatewayAttributesCommonWithContext

func (c *VPN) ModifyVpnGatewayAttributesCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyVpnGatewayAttributesCommonWithContext is the same as ModifyVpnGatewayAttributesCommon with the addition of the ability to pass a context and additional request options.

See ModifyVpnGatewayAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) ModifyVpnGatewayAttributesRequest

func (c *VPN) ModifyVpnGatewayAttributesRequest(input *ModifyVpnGatewayAttributesInput) (req *request.Request, output *ModifyVpnGatewayAttributesOutput)

ModifyVpnGatewayAttributesRequest generates a "volcstack/request.Request" representing the client's request for the ModifyVpnGatewayAttributes operation. The "output" return value will be populated with the ModifyVpnGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyVpnGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyVpnGatewayAttributesCommon Send returns without error.

See ModifyVpnGatewayAttributes for more information on using the ModifyVpnGatewayAttributes API call, and error handling.

// Example sending a request using the ModifyVpnGatewayAttributesRequest method.
req, resp := client.ModifyVpnGatewayAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) ModifyVpnGatewayAttributesWithContext

func (c *VPN) ModifyVpnGatewayAttributesWithContext(ctx volcstack.Context, input *ModifyVpnGatewayAttributesInput, opts ...request.Option) (*ModifyVpnGatewayAttributesOutput, error)

ModifyVpnGatewayAttributesWithContext is the same as ModifyVpnGatewayAttributes with the addition of the ability to pass a context and additional request options.

See ModifyVpnGatewayAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) RenewVpnGateway

func (c *VPN) RenewVpnGateway(input *RenewVpnGatewayInput) (*RenewVpnGatewayOutput, error)

RenewVpnGateway API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation RenewVpnGateway for usage and error information.

func (*VPN) RenewVpnGatewayCommon

func (c *VPN) RenewVpnGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

RenewVpnGatewayCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation RenewVpnGatewayCommon for usage and error information.

func (*VPN) RenewVpnGatewayCommonRequest

func (c *VPN) RenewVpnGatewayCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

RenewVpnGatewayCommonRequest generates a "volcstack/request.Request" representing the client's request for the RenewVpnGatewayCommon operation. The "output" return value will be populated with the RenewVpnGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned RenewVpnGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after RenewVpnGatewayCommon Send returns without error.

See RenewVpnGatewayCommon for more information on using the RenewVpnGatewayCommon API call, and error handling.

// Example sending a request using the RenewVpnGatewayCommonRequest method.
req, resp := client.RenewVpnGatewayCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) RenewVpnGatewayCommonWithContext

func (c *VPN) RenewVpnGatewayCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

RenewVpnGatewayCommonWithContext is the same as RenewVpnGatewayCommon with the addition of the ability to pass a context and additional request options.

See RenewVpnGatewayCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) RenewVpnGatewayRequest

func (c *VPN) RenewVpnGatewayRequest(input *RenewVpnGatewayInput) (req *request.Request, output *RenewVpnGatewayOutput)

RenewVpnGatewayRequest generates a "volcstack/request.Request" representing the client's request for the RenewVpnGateway operation. The "output" return value will be populated with the RenewVpnGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned RenewVpnGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after RenewVpnGatewayCommon Send returns without error.

See RenewVpnGateway for more information on using the RenewVpnGateway API call, and error handling.

// Example sending a request using the RenewVpnGatewayRequest method.
req, resp := client.RenewVpnGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) RenewVpnGatewayWithContext

func (c *VPN) RenewVpnGatewayWithContext(ctx volcstack.Context, input *RenewVpnGatewayInput, opts ...request.Option) (*RenewVpnGatewayOutput, error)

RenewVpnGatewayWithContext is the same as RenewVpnGateway with the addition of the ability to pass a context and additional request options.

See RenewVpnGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) SetVpnGatewayRenewal

func (c *VPN) SetVpnGatewayRenewal(input *SetVpnGatewayRenewalInput) (*SetVpnGatewayRenewalOutput, error)

SetVpnGatewayRenewal API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation SetVpnGatewayRenewal for usage and error information.

func (*VPN) SetVpnGatewayRenewalCommon

func (c *VPN) SetVpnGatewayRenewalCommon(input *map[string]interface{}) (*map[string]interface{}, error)

SetVpnGatewayRenewalCommon API operation for VPN.

Returns volcstackerr.Error for service API and SDK errors. Use runtime type assertions with volcstackerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCSTACK API reference guide for VPN's API operation SetVpnGatewayRenewalCommon for usage and error information.

func (*VPN) SetVpnGatewayRenewalCommonRequest

func (c *VPN) SetVpnGatewayRenewalCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

SetVpnGatewayRenewalCommonRequest generates a "volcstack/request.Request" representing the client's request for the SetVpnGatewayRenewalCommon operation. The "output" return value will be populated with the SetVpnGatewayRenewalCommon request's response once the request completes successfully.

Use "Send" method on the returned SetVpnGatewayRenewalCommon Request to send the API call to the service. the "output" return value is not valid until after SetVpnGatewayRenewalCommon Send returns without error.

See SetVpnGatewayRenewalCommon for more information on using the SetVpnGatewayRenewalCommon API call, and error handling.

// Example sending a request using the SetVpnGatewayRenewalCommonRequest method.
req, resp := client.SetVpnGatewayRenewalCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) SetVpnGatewayRenewalCommonWithContext

func (c *VPN) SetVpnGatewayRenewalCommonWithContext(ctx volcstack.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

SetVpnGatewayRenewalCommonWithContext is the same as SetVpnGatewayRenewalCommon with the addition of the ability to pass a context and additional request options.

See SetVpnGatewayRenewalCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VPN) SetVpnGatewayRenewalRequest

func (c *VPN) SetVpnGatewayRenewalRequest(input *SetVpnGatewayRenewalInput) (req *request.Request, output *SetVpnGatewayRenewalOutput)

SetVpnGatewayRenewalRequest generates a "volcstack/request.Request" representing the client's request for the SetVpnGatewayRenewal operation. The "output" return value will be populated with the SetVpnGatewayRenewalCommon request's response once the request completes successfully.

Use "Send" method on the returned SetVpnGatewayRenewalCommon Request to send the API call to the service. the "output" return value is not valid until after SetVpnGatewayRenewalCommon Send returns without error.

See SetVpnGatewayRenewal for more information on using the SetVpnGatewayRenewal API call, and error handling.

// Example sending a request using the SetVpnGatewayRenewalRequest method.
req, resp := client.SetVpnGatewayRenewalRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VPN) SetVpnGatewayRenewalWithContext

func (c *VPN) SetVpnGatewayRenewalWithContext(ctx volcstack.Context, input *SetVpnGatewayRenewalInput, opts ...request.Option) (*SetVpnGatewayRenewalOutput, error)

SetVpnGatewayRenewalWithContext is the same as SetVpnGatewayRenewal with the addition of the ability to pass a context and additional request options.

See SetVpnGatewayRenewal for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type VPNAPI

type VPNAPI interface {
	CreateCustomerGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateCustomerGatewayCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateCustomerGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateCustomerGateway(*CreateCustomerGatewayInput) (*CreateCustomerGatewayOutput, error)
	CreateCustomerGatewayWithContext(volcstack.Context, *CreateCustomerGatewayInput, ...request.Option) (*CreateCustomerGatewayOutput, error)
	CreateCustomerGatewayRequest(*CreateCustomerGatewayInput) (*request.Request, *CreateCustomerGatewayOutput)

	CreateVpnConnectionCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateVpnConnectionCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateVpnConnectionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateVpnConnection(*CreateVpnConnectionInput) (*CreateVpnConnectionOutput, error)
	CreateVpnConnectionWithContext(volcstack.Context, *CreateVpnConnectionInput, ...request.Option) (*CreateVpnConnectionOutput, error)
	CreateVpnConnectionRequest(*CreateVpnConnectionInput) (*request.Request, *CreateVpnConnectionOutput)

	CreateVpnGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateVpnGatewayCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateVpnGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateVpnGateway(*CreateVpnGatewayInput) (*CreateVpnGatewayOutput, error)
	CreateVpnGatewayWithContext(volcstack.Context, *CreateVpnGatewayInput, ...request.Option) (*CreateVpnGatewayOutput, error)
	CreateVpnGatewayRequest(*CreateVpnGatewayInput) (*request.Request, *CreateVpnGatewayOutput)

	CreateVpnGatewayRouteCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateVpnGatewayRouteCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateVpnGatewayRouteCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateVpnGatewayRoute(*CreateVpnGatewayRouteInput) (*CreateVpnGatewayRouteOutput, error)
	CreateVpnGatewayRouteWithContext(volcstack.Context, *CreateVpnGatewayRouteInput, ...request.Option) (*CreateVpnGatewayRouteOutput, error)
	CreateVpnGatewayRouteRequest(*CreateVpnGatewayRouteInput) (*request.Request, *CreateVpnGatewayRouteOutput)

	DeleteCustomerGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteCustomerGatewayCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteCustomerGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteCustomerGateway(*DeleteCustomerGatewayInput) (*DeleteCustomerGatewayOutput, error)
	DeleteCustomerGatewayWithContext(volcstack.Context, *DeleteCustomerGatewayInput, ...request.Option) (*DeleteCustomerGatewayOutput, error)
	DeleteCustomerGatewayRequest(*DeleteCustomerGatewayInput) (*request.Request, *DeleteCustomerGatewayOutput)

	DeleteVpnConnectionCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteVpnConnectionCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteVpnConnectionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteVpnConnection(*DeleteVpnConnectionInput) (*DeleteVpnConnectionOutput, error)
	DeleteVpnConnectionWithContext(volcstack.Context, *DeleteVpnConnectionInput, ...request.Option) (*DeleteVpnConnectionOutput, error)
	DeleteVpnConnectionRequest(*DeleteVpnConnectionInput) (*request.Request, *DeleteVpnConnectionOutput)

	DeleteVpnGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteVpnGatewayCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteVpnGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteVpnGateway(*DeleteVpnGatewayInput) (*DeleteVpnGatewayOutput, error)
	DeleteVpnGatewayWithContext(volcstack.Context, *DeleteVpnGatewayInput, ...request.Option) (*DeleteVpnGatewayOutput, error)
	DeleteVpnGatewayRequest(*DeleteVpnGatewayInput) (*request.Request, *DeleteVpnGatewayOutput)

	DeleteVpnGatewayRouteCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteVpnGatewayRouteCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteVpnGatewayRouteCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteVpnGatewayRoute(*DeleteVpnGatewayRouteInput) (*DeleteVpnGatewayRouteOutput, error)
	DeleteVpnGatewayRouteWithContext(volcstack.Context, *DeleteVpnGatewayRouteInput, ...request.Option) (*DeleteVpnGatewayRouteOutput, error)
	DeleteVpnGatewayRouteRequest(*DeleteVpnGatewayRouteInput) (*request.Request, *DeleteVpnGatewayRouteOutput)

	DescribeCustomerGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeCustomerGatewayAttributesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeCustomerGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeCustomerGatewayAttributes(*DescribeCustomerGatewayAttributesInput) (*DescribeCustomerGatewayAttributesOutput, error)
	DescribeCustomerGatewayAttributesWithContext(volcstack.Context, *DescribeCustomerGatewayAttributesInput, ...request.Option) (*DescribeCustomerGatewayAttributesOutput, error)
	DescribeCustomerGatewayAttributesRequest(*DescribeCustomerGatewayAttributesInput) (*request.Request, *DescribeCustomerGatewayAttributesOutput)

	DescribeCustomerGatewaysCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeCustomerGatewaysCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeCustomerGatewaysCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeCustomerGateways(*DescribeCustomerGatewaysInput) (*DescribeCustomerGatewaysOutput, error)
	DescribeCustomerGatewaysWithContext(volcstack.Context, *DescribeCustomerGatewaysInput, ...request.Option) (*DescribeCustomerGatewaysOutput, error)
	DescribeCustomerGatewaysRequest(*DescribeCustomerGatewaysInput) (*request.Request, *DescribeCustomerGatewaysOutput)

	DescribeVpnConnectionAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVpnConnectionAttributesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVpnConnectionAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVpnConnectionAttributes(*DescribeVpnConnectionAttributesInput) (*DescribeVpnConnectionAttributesOutput, error)
	DescribeVpnConnectionAttributesWithContext(volcstack.Context, *DescribeVpnConnectionAttributesInput, ...request.Option) (*DescribeVpnConnectionAttributesOutput, error)
	DescribeVpnConnectionAttributesRequest(*DescribeVpnConnectionAttributesInput) (*request.Request, *DescribeVpnConnectionAttributesOutput)

	DescribeVpnConnectionsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVpnConnectionsCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVpnConnectionsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVpnConnections(*DescribeVpnConnectionsInput) (*DescribeVpnConnectionsOutput, error)
	DescribeVpnConnectionsWithContext(volcstack.Context, *DescribeVpnConnectionsInput, ...request.Option) (*DescribeVpnConnectionsOutput, error)
	DescribeVpnConnectionsRequest(*DescribeVpnConnectionsInput) (*request.Request, *DescribeVpnConnectionsOutput)

	DescribeVpnGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVpnGatewayAttributesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVpnGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVpnGatewayAttributes(*DescribeVpnGatewayAttributesInput) (*DescribeVpnGatewayAttributesOutput, error)
	DescribeVpnGatewayAttributesWithContext(volcstack.Context, *DescribeVpnGatewayAttributesInput, ...request.Option) (*DescribeVpnGatewayAttributesOutput, error)
	DescribeVpnGatewayAttributesRequest(*DescribeVpnGatewayAttributesInput) (*request.Request, *DescribeVpnGatewayAttributesOutput)

	DescribeVpnGatewayRouteAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVpnGatewayRouteAttributesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVpnGatewayRouteAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVpnGatewayRouteAttributes(*DescribeVpnGatewayRouteAttributesInput) (*DescribeVpnGatewayRouteAttributesOutput, error)
	DescribeVpnGatewayRouteAttributesWithContext(volcstack.Context, *DescribeVpnGatewayRouteAttributesInput, ...request.Option) (*DescribeVpnGatewayRouteAttributesOutput, error)
	DescribeVpnGatewayRouteAttributesRequest(*DescribeVpnGatewayRouteAttributesInput) (*request.Request, *DescribeVpnGatewayRouteAttributesOutput)

	DescribeVpnGatewayRoutesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVpnGatewayRoutesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVpnGatewayRoutesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVpnGatewayRoutes(*DescribeVpnGatewayRoutesInput) (*DescribeVpnGatewayRoutesOutput, error)
	DescribeVpnGatewayRoutesWithContext(volcstack.Context, *DescribeVpnGatewayRoutesInput, ...request.Option) (*DescribeVpnGatewayRoutesOutput, error)
	DescribeVpnGatewayRoutesRequest(*DescribeVpnGatewayRoutesInput) (*request.Request, *DescribeVpnGatewayRoutesOutput)

	DescribeVpnGatewaysCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVpnGatewaysCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVpnGatewaysCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVpnGateways(*DescribeVpnGatewaysInput) (*DescribeVpnGatewaysOutput, error)
	DescribeVpnGatewaysWithContext(volcstack.Context, *DescribeVpnGatewaysInput, ...request.Option) (*DescribeVpnGatewaysOutput, error)
	DescribeVpnGatewaysRequest(*DescribeVpnGatewaysInput) (*request.Request, *DescribeVpnGatewaysOutput)

	DescribeVpnGatewaysBillingCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVpnGatewaysBillingCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVpnGatewaysBillingCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVpnGatewaysBilling(*DescribeVpnGatewaysBillingInput) (*DescribeVpnGatewaysBillingOutput, error)
	DescribeVpnGatewaysBillingWithContext(volcstack.Context, *DescribeVpnGatewaysBillingInput, ...request.Option) (*DescribeVpnGatewaysBillingOutput, error)
	DescribeVpnGatewaysBillingRequest(*DescribeVpnGatewaysBillingInput) (*request.Request, *DescribeVpnGatewaysBillingOutput)

	ModifyCustomerGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyCustomerGatewayAttributesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyCustomerGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyCustomerGatewayAttributes(*ModifyCustomerGatewayAttributesInput) (*ModifyCustomerGatewayAttributesOutput, error)
	ModifyCustomerGatewayAttributesWithContext(volcstack.Context, *ModifyCustomerGatewayAttributesInput, ...request.Option) (*ModifyCustomerGatewayAttributesOutput, error)
	ModifyCustomerGatewayAttributesRequest(*ModifyCustomerGatewayAttributesInput) (*request.Request, *ModifyCustomerGatewayAttributesOutput)

	ModifyVpnConnectionAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyVpnConnectionAttributesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyVpnConnectionAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyVpnConnectionAttributes(*ModifyVpnConnectionAttributesInput) (*ModifyVpnConnectionAttributesOutput, error)
	ModifyVpnConnectionAttributesWithContext(volcstack.Context, *ModifyVpnConnectionAttributesInput, ...request.Option) (*ModifyVpnConnectionAttributesOutput, error)
	ModifyVpnConnectionAttributesRequest(*ModifyVpnConnectionAttributesInput) (*request.Request, *ModifyVpnConnectionAttributesOutput)

	ModifyVpnGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyVpnGatewayAttributesCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyVpnGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyVpnGatewayAttributes(*ModifyVpnGatewayAttributesInput) (*ModifyVpnGatewayAttributesOutput, error)
	ModifyVpnGatewayAttributesWithContext(volcstack.Context, *ModifyVpnGatewayAttributesInput, ...request.Option) (*ModifyVpnGatewayAttributesOutput, error)
	ModifyVpnGatewayAttributesRequest(*ModifyVpnGatewayAttributesInput) (*request.Request, *ModifyVpnGatewayAttributesOutput)

	RenewVpnGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	RenewVpnGatewayCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	RenewVpnGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	RenewVpnGateway(*RenewVpnGatewayInput) (*RenewVpnGatewayOutput, error)
	RenewVpnGatewayWithContext(volcstack.Context, *RenewVpnGatewayInput, ...request.Option) (*RenewVpnGatewayOutput, error)
	RenewVpnGatewayRequest(*RenewVpnGatewayInput) (*request.Request, *RenewVpnGatewayOutput)

	SetVpnGatewayRenewalCommon(*map[string]interface{}) (*map[string]interface{}, error)
	SetVpnGatewayRenewalCommonWithContext(volcstack.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	SetVpnGatewayRenewalCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	SetVpnGatewayRenewal(*SetVpnGatewayRenewalInput) (*SetVpnGatewayRenewalOutput, error)
	SetVpnGatewayRenewalWithContext(volcstack.Context, *SetVpnGatewayRenewalInput, ...request.Option) (*SetVpnGatewayRenewalOutput, error)
	SetVpnGatewayRenewalRequest(*SetVpnGatewayRenewalInput) (*request.Request, *SetVpnGatewayRenewalOutput)
}

VPNAPI provides an interface to enable mocking the vpn.VPN service client's API operation,

// volcstack sdk func uses an SDK service client to make a request to
// VPN.
func myFunc(svc VPNAPI) bool {
    // Make svc.CreateCustomerGateway request
}

func main() {
    sess := session.New()
    svc := vpn.New(sess)

    myFunc(svc)
}

type VpnConnectionForDescribeVpnConnectionsOutput

type VpnConnectionForDescribeVpnConnectionsOutput struct {
	AccountId *string `type:"string"`

	CreationTime *string `type:"string"`

	CustomerGatewayId *string `type:"string"`

	Description *string `type:"string"`

	IkeConfig *IkeConfigForDescribeVpnConnectionsOutput `type:"structure"`

	IpsecConfig *IpsecConfigForDescribeVpnConnectionsOutput `type:"structure"`

	LocalSubnet []*string `type:"list"`

	NatTraversal *bool `type:"boolean"`

	RemoteSubnet []*string `type:"list"`

	Status *string `type:"string"`

	UpdateTime *string `type:"string"`

	VpnConnectionId *string `type:"string"`

	VpnConnectionName *string `type:"string"`

	VpnGatewayId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpnConnectionForDescribeVpnConnectionsOutput) GoString

GoString returns the string representation

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetCustomerGatewayId

SetCustomerGatewayId sets the CustomerGatewayId field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetDescription

SetDescription sets the Description field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetIkeConfig

SetIkeConfig sets the IkeConfig field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetIpsecConfig

SetIpsecConfig sets the IpsecConfig field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetLocalSubnet

SetLocalSubnet sets the LocalSubnet field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetNatTraversal

SetNatTraversal sets the NatTraversal field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetRemoteSubnet

SetRemoteSubnet sets the RemoteSubnet field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetStatus

SetStatus sets the Status field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetVpnConnectionId

SetVpnConnectionId sets the VpnConnectionId field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetVpnConnectionName

SetVpnConnectionName sets the VpnConnectionName field's value.

func (*VpnConnectionForDescribeVpnConnectionsOutput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (VpnConnectionForDescribeVpnConnectionsOutput) String

String returns the string representation

type VpnGatewayForDescribeVpnGatewaysBillingOutput

type VpnGatewayForDescribeVpnGatewaysBillingOutput struct {
	BillingStatus *int64 `type:"integer"`

	BillingType *int64 `type:"integer"`

	ExpiredTime *string `type:"string"`

	ReclaimTime *string `type:"string"`

	RemainRenewTimes *int64 `type:"integer"`

	RenewType *int64 `type:"integer"`

	VpnGatewayId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpnGatewayForDescribeVpnGatewaysBillingOutput) GoString

GoString returns the string representation

func (*VpnGatewayForDescribeVpnGatewaysBillingOutput) SetBillingStatus

SetBillingStatus sets the BillingStatus field's value.

func (*VpnGatewayForDescribeVpnGatewaysBillingOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*VpnGatewayForDescribeVpnGatewaysBillingOutput) SetExpiredTime

SetExpiredTime sets the ExpiredTime field's value.

func (*VpnGatewayForDescribeVpnGatewaysBillingOutput) SetReclaimTime

SetReclaimTime sets the ReclaimTime field's value.

func (*VpnGatewayForDescribeVpnGatewaysBillingOutput) SetRemainRenewTimes

SetRemainRenewTimes sets the RemainRenewTimes field's value.

func (*VpnGatewayForDescribeVpnGatewaysBillingOutput) SetRenewType

SetRenewType sets the RenewType field's value.

func (*VpnGatewayForDescribeVpnGatewaysBillingOutput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (VpnGatewayForDescribeVpnGatewaysBillingOutput) String

String returns the string representation

type VpnGatewayForDescribeVpnGatewaysOutput

type VpnGatewayForDescribeVpnGatewaysOutput struct {
	AccountId *string `type:"string"`

	Bandwidth *int64 `type:"integer"`

	BillingType *int64 `type:"integer"`

	BusinessStatus *string `type:"string"`

	ConnectionCount *int64 `type:"integer"`

	CreationTime *string `type:"string"`

	DeletedTime *string `type:"string"`

	Description *string `type:"string"`

	ExpiredTime *string `type:"string"`

	IpAddress *string `type:"string"`

	LockReason *string `type:"string"`

	RouteCount *int64 `type:"integer"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`

	UpdateTime *string `type:"string"`

	VpcId *string `type:"string"`

	VpnGatewayId *string `type:"string"`

	VpnGatewayName *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpnGatewayForDescribeVpnGatewaysOutput) GoString

GoString returns the string representation

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetBandwidth

SetBandwidth sets the Bandwidth field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetBusinessStatus

SetBusinessStatus sets the BusinessStatus field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetConnectionCount

SetConnectionCount sets the ConnectionCount field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetDeletedTime

SetDeletedTime sets the DeletedTime field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetDescription

SetDescription sets the Description field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetExpiredTime

SetExpiredTime sets the ExpiredTime field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetIpAddress

SetIpAddress sets the IpAddress field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetLockReason

SetLockReason sets the LockReason field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetRouteCount

SetRouteCount sets the RouteCount field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetStatus

SetStatus sets the Status field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (*VpnGatewayForDescribeVpnGatewaysOutput) SetVpnGatewayName

SetVpnGatewayName sets the VpnGatewayName field's value.

func (VpnGatewayForDescribeVpnGatewaysOutput) String

String returns the string representation

type VpnGatewayRouteForDescribeVpnGatewayRoutesOutput

type VpnGatewayRouteForDescribeVpnGatewayRoutesOutput struct {
	CreationTime *string `type:"string"`

	DestinationCidrBlock *string `type:"string"`

	NextHopId *string `type:"string"`

	Status *string `type:"string"`

	UpdateTime *string `type:"string"`

	VpnGatewayId *string `type:"string"`

	VpnGatewayRouteId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) GoString

GoString returns the string representation

func (*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) SetDestinationCidrBlock

SetDestinationCidrBlock sets the DestinationCidrBlock field's value.

func (*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) SetNextHopId

SetNextHopId sets the NextHopId field's value.

func (*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) SetStatus

SetStatus sets the Status field's value.

func (*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) SetVpnGatewayId

SetVpnGatewayId sets the VpnGatewayId field's value.

func (*VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) SetVpnGatewayRouteId

SetVpnGatewayRouteId sets the VpnGatewayRouteId field's value.

func (VpnGatewayRouteForDescribeVpnGatewayRoutesOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

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