natgateway

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Overview

Package natgatewayiface provides an interface to enable mocking the NATGATEWAY 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 (
	// PeriodUnitForCreateNatGatewayInputMonth is a PeriodUnitForCreateNatGatewayInput enum value
	PeriodUnitForCreateNatGatewayInputMonth = "Month"

	// PeriodUnitForCreateNatGatewayInputYear is a PeriodUnitForCreateNatGatewayInput enum value
	PeriodUnitForCreateNatGatewayInputYear = "Year"
)
View Source
const (
	// SpecForCreateNatGatewayInputSmall is a SpecForCreateNatGatewayInput enum value
	SpecForCreateNatGatewayInputSmall = "Small"

	// SpecForCreateNatGatewayInputMedium is a SpecForCreateNatGatewayInput enum value
	SpecForCreateNatGatewayInputMedium = "Medium"

	// SpecForCreateNatGatewayInputLarge is a SpecForCreateNatGatewayInput enum value
	SpecForCreateNatGatewayInputLarge = "Large"
)
View Source
const (
	// SpecForDescribeNatGatewaysInputSmall is a SpecForDescribeNatGatewaysInput enum value
	SpecForDescribeNatGatewaysInputSmall = "Small"

	// SpecForDescribeNatGatewaysInputMedium is a SpecForDescribeNatGatewaysInput enum value
	SpecForDescribeNatGatewaysInputMedium = "Medium"

	// SpecForDescribeNatGatewaysInputLarge is a SpecForDescribeNatGatewaysInput enum value
	SpecForDescribeNatGatewaysInputLarge = "Large"
)
View Source
const (
	// SpecForModifyNatGatewayAttributesInputSmall is a SpecForModifyNatGatewayAttributesInput enum value
	SpecForModifyNatGatewayAttributesInputSmall = "Small"

	// SpecForModifyNatGatewayAttributesInputMedium is a SpecForModifyNatGatewayAttributesInput enum value
	SpecForModifyNatGatewayAttributesInputMedium = "Medium"

	// SpecForModifyNatGatewayAttributesInputLarge is a SpecForModifyNatGatewayAttributesInput enum value
	SpecForModifyNatGatewayAttributesInputLarge = "Large"
)
View Source
const (
	ServiceName = "natgateway" // Name of service.
	EndpointsID = ServiceName  // ID to lookup a service endpoint with.
	ServiceID   = "natgateway" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateNatGatewayInput

type CreateNatGatewayInput struct {
	BillingType *int64 `min:"1" max:"1" type:"integer"`

	ClientToken *string `type:"string"`

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

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

	Period *int64 `type:"integer"`

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

	Spec *string `type:"string" enum:"SpecForCreateNatGatewayInput"`

	SubnetId *string `type:"string"`

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

func (CreateNatGatewayInput) GoString

func (s CreateNatGatewayInput) GoString() string

GoString returns the string representation

func (*CreateNatGatewayInput) SetBillingType added in v1.0.8

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

SetBillingType sets the BillingType field's value.

func (*CreateNatGatewayInput) SetClientToken added in v1.0.8

func (s *CreateNatGatewayInput) SetClientToken(v string) *CreateNatGatewayInput

SetClientToken sets the ClientToken field's value.

func (*CreateNatGatewayInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateNatGatewayInput) SetNatGatewayName

func (s *CreateNatGatewayInput) SetNatGatewayName(v string) *CreateNatGatewayInput

SetNatGatewayName sets the NatGatewayName field's value.

func (*CreateNatGatewayInput) SetPeriod added in v1.0.8

SetPeriod sets the Period field's value.

func (*CreateNatGatewayInput) SetPeriodUnit added in v1.0.8

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

SetPeriodUnit sets the PeriodUnit field's value.

func (*CreateNatGatewayInput) SetSpec

SetSpec sets the Spec field's value.

func (*CreateNatGatewayInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*CreateNatGatewayInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (CreateNatGatewayInput) String

func (s CreateNatGatewayInput) String() string

String returns the string representation

func (*CreateNatGatewayInput) Validate

func (s *CreateNatGatewayInput) Validate() error

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

type CreateNatGatewayOutput

type CreateNatGatewayOutput struct {
	Metadata *response.ResponseMetadata

	NatGatewayId *string `type:"string"`

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

func (CreateNatGatewayOutput) GoString

func (s CreateNatGatewayOutput) GoString() string

GoString returns the string representation

func (*CreateNatGatewayOutput) SetNatGatewayId

func (s *CreateNatGatewayOutput) SetNatGatewayId(v string) *CreateNatGatewayOutput

SetNatGatewayId sets the NatGatewayId field's value.

func (*CreateNatGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateNatGatewayOutput) String

func (s CreateNatGatewayOutput) String() string

String returns the string representation

type CreateSnatEntryInput

type CreateSnatEntryInput struct {

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

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

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

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

func (CreateSnatEntryInput) GoString

func (s CreateSnatEntryInput) GoString() string

GoString returns the string representation

func (*CreateSnatEntryInput) SetEipId

SetEipId sets the EipId field's value.

func (*CreateSnatEntryInput) SetNatGatewayId

func (s *CreateSnatEntryInput) SetNatGatewayId(v string) *CreateSnatEntryInput

SetNatGatewayId sets the NatGatewayId field's value.

func (*CreateSnatEntryInput) SetSnatEntryName

func (s *CreateSnatEntryInput) SetSnatEntryName(v string) *CreateSnatEntryInput

SetSnatEntryName sets the SnatEntryName field's value.

func (*CreateSnatEntryInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (CreateSnatEntryInput) String

func (s CreateSnatEntryInput) String() string

String returns the string representation

func (*CreateSnatEntryInput) Validate

func (s *CreateSnatEntryInput) Validate() error

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

type CreateSnatEntryOutput

type CreateSnatEntryOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`

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

func (CreateSnatEntryOutput) GoString

func (s CreateSnatEntryOutput) GoString() string

GoString returns the string representation

func (*CreateSnatEntryOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*CreateSnatEntryOutput) SetSnatEntryId

func (s *CreateSnatEntryOutput) SetSnatEntryId(v string) *CreateSnatEntryOutput

SetSnatEntryId sets the SnatEntryId field's value.

func (CreateSnatEntryOutput) String

func (s CreateSnatEntryOutput) String() string

String returns the string representation

type DeleteNatGatewayInput

type DeleteNatGatewayInput struct {

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

func (DeleteNatGatewayInput) GoString

func (s DeleteNatGatewayInput) GoString() string

GoString returns the string representation

func (*DeleteNatGatewayInput) SetNatGatewayId

func (s *DeleteNatGatewayInput) SetNatGatewayId(v string) *DeleteNatGatewayInput

SetNatGatewayId sets the NatGatewayId field's value.

func (DeleteNatGatewayInput) String

func (s DeleteNatGatewayInput) String() string

String returns the string representation

func (*DeleteNatGatewayInput) Validate

func (s *DeleteNatGatewayInput) Validate() error

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

type DeleteNatGatewayOutput

type DeleteNatGatewayOutput struct {
	Metadata *response.ResponseMetadata

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

func (DeleteNatGatewayOutput) GoString

func (s DeleteNatGatewayOutput) GoString() string

GoString returns the string representation

func (*DeleteNatGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteNatGatewayOutput) String

func (s DeleteNatGatewayOutput) String() string

String returns the string representation

type DeleteSnatEntryInput

type DeleteSnatEntryInput struct {

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

func (DeleteSnatEntryInput) GoString

func (s DeleteSnatEntryInput) GoString() string

GoString returns the string representation

func (*DeleteSnatEntryInput) SetSnatEntryId

func (s *DeleteSnatEntryInput) SetSnatEntryId(v string) *DeleteSnatEntryInput

SetSnatEntryId sets the SnatEntryId field's value.

func (DeleteSnatEntryInput) String

func (s DeleteSnatEntryInput) String() string

String returns the string representation

func (*DeleteSnatEntryInput) Validate

func (s *DeleteSnatEntryInput) Validate() error

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

type DeleteSnatEntryOutput

type DeleteSnatEntryOutput struct {
	Metadata *response.ResponseMetadata

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

func (DeleteSnatEntryOutput) GoString

func (s DeleteSnatEntryOutput) GoString() string

GoString returns the string representation

func (*DeleteSnatEntryOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteSnatEntryOutput) String

func (s DeleteSnatEntryOutput) String() string

String returns the string representation

type DescribeNatGatewayAttributesInput

type DescribeNatGatewayAttributesInput struct {

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

func (DescribeNatGatewayAttributesInput) GoString

GoString returns the string representation

func (*DescribeNatGatewayAttributesInput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (DescribeNatGatewayAttributesInput) String

String returns the string representation

func (*DescribeNatGatewayAttributesInput) Validate

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

type DescribeNatGatewayAttributesOutput

type DescribeNatGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

	BillingType *int64 `type:"integer"`

	BusinessStatus *string `type:"string"`

	CreationTime *string `type:"string"`

	DeletedTime *string `type:"string"`

	Description *string `type:"string"`

	EipAddresses []*EipAddressForDescribeNatGatewayAttributesOutput `type:"list"`

	ExpiredTime *string `type:"string"`

	LockReason *string `type:"string"`

	NatGatewayId *string `type:"string"`

	NatGatewayName *string `type:"string"`

	NetworkInterfaceId *string `type:"string"`

	OverdueTime *string `type:"string"`

	RequestId *string `type:"string"`

	Spec *string `type:"string"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`

	UpdatedAt *string `type:"string"`

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

func (DescribeNatGatewayAttributesOutput) GoString

GoString returns the string representation

func (*DescribeNatGatewayAttributesOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*DescribeNatGatewayAttributesOutput) SetBusinessStatus

SetBusinessStatus sets the BusinessStatus field's value.

func (*DescribeNatGatewayAttributesOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetDeletedTime

SetDeletedTime sets the DeletedTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeNatGatewayAttributesOutput) SetEipAddresses

SetEipAddresses sets the EipAddresses field's value.

func (*DescribeNatGatewayAttributesOutput) SetExpiredTime added in v1.0.8

SetExpiredTime sets the ExpiredTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetLockReason

SetLockReason sets the LockReason field's value.

func (*DescribeNatGatewayAttributesOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeNatGatewayAttributesOutput) SetNatGatewayName

SetNatGatewayName sets the NatGatewayName field's value.

func (*DescribeNatGatewayAttributesOutput) SetNetworkInterfaceId

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*DescribeNatGatewayAttributesOutput) SetOverdueTime

SetOverdueTime sets the OverdueTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeNatGatewayAttributesOutput) SetSpec

SetSpec sets the Spec field's value.

func (*DescribeNatGatewayAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeNatGatewayAttributesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*DescribeNatGatewayAttributesOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (*DescribeNatGatewayAttributesOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (DescribeNatGatewayAttributesOutput) String

String returns the string representation

type DescribeNatGatewaysInput

type DescribeNatGatewaysInput struct {
	Description *string `type:"string"`

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

	NatGatewayName *string `type:"string"`

	PageNumber *int64 `type:"integer"`

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

	Spec *string `type:"string" enum:"SpecForDescribeNatGatewaysInput"`

	SubnetId *string `type:"string"`

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

func (DescribeNatGatewaysInput) GoString

func (s DescribeNatGatewaysInput) GoString() string

GoString returns the string representation

func (*DescribeNatGatewaysInput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeNatGatewaysInput) SetNatGatewayIds

func (s *DescribeNatGatewaysInput) SetNatGatewayIds(v []*string) *DescribeNatGatewaysInput

SetNatGatewayIds sets the NatGatewayIds field's value.

func (*DescribeNatGatewaysInput) SetNatGatewayName

func (s *DescribeNatGatewaysInput) SetNatGatewayName(v string) *DescribeNatGatewaysInput

SetNatGatewayName sets the NatGatewayName field's value.

func (*DescribeNatGatewaysInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeNatGatewaysInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeNatGatewaysInput) SetSpec

SetSpec sets the Spec field's value.

func (*DescribeNatGatewaysInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*DescribeNatGatewaysInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (DescribeNatGatewaysInput) String

func (s DescribeNatGatewaysInput) String() string

String returns the string representation

func (*DescribeNatGatewaysInput) Validate

func (s *DescribeNatGatewaysInput) Validate() error

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

type DescribeNatGatewaysOutput

type DescribeNatGatewaysOutput struct {
	Metadata *response.ResponseMetadata

	NatGateways []*NatGatewayForDescribeNatGatewaysOutput `type:"list"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

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

func (DescribeNatGatewaysOutput) GoString

func (s DescribeNatGatewaysOutput) GoString() string

GoString returns the string representation

func (*DescribeNatGatewaysOutput) SetNatGateways

SetNatGateways sets the NatGateways field's value.

func (*DescribeNatGatewaysOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeNatGatewaysOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeNatGatewaysOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeNatGatewaysOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (DescribeNatGatewaysOutput) String

func (s DescribeNatGatewaysOutput) String() string

String returns the string representation

type DescribeSnatEntriesInput

type DescribeSnatEntriesInput struct {
	EipId *string `type:"string"`

	NatGatewayId *string `type:"string"`

	PageNumber *int64 `type:"integer"`

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

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

	SnatEntryName *string `type:"string"`

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

func (DescribeSnatEntriesInput) GoString

func (s DescribeSnatEntriesInput) GoString() string

GoString returns the string representation

func (*DescribeSnatEntriesInput) SetEipId

SetEipId sets the EipId field's value.

func (*DescribeSnatEntriesInput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeSnatEntriesInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeSnatEntriesInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeSnatEntriesInput) SetSnatEntryIds

func (s *DescribeSnatEntriesInput) SetSnatEntryIds(v []*string) *DescribeSnatEntriesInput

SetSnatEntryIds sets the SnatEntryIds field's value.

func (*DescribeSnatEntriesInput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (*DescribeSnatEntriesInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (DescribeSnatEntriesInput) String

func (s DescribeSnatEntriesInput) String() string

String returns the string representation

func (*DescribeSnatEntriesInput) Validate

func (s *DescribeSnatEntriesInput) Validate() error

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

type DescribeSnatEntriesOutput

type DescribeSnatEntriesOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	SnatEntries []*SnatEntryForDescribeSnatEntriesOutput `type:"list"`

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

func (DescribeSnatEntriesOutput) GoString

func (s DescribeSnatEntriesOutput) GoString() string

GoString returns the string representation

func (*DescribeSnatEntriesOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeSnatEntriesOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeSnatEntriesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeSnatEntriesOutput) SetSnatEntries

SetSnatEntries sets the SnatEntries field's value.

func (*DescribeSnatEntriesOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (DescribeSnatEntriesOutput) String

func (s DescribeSnatEntriesOutput) String() string

String returns the string representation

type DescribeSnatEntryAttributesInput

type DescribeSnatEntryAttributesInput struct {

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

func (DescribeSnatEntryAttributesInput) GoString

GoString returns the string representation

func (*DescribeSnatEntryAttributesInput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (DescribeSnatEntryAttributesInput) String

String returns the string representation

func (*DescribeSnatEntryAttributesInput) Validate

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

type DescribeSnatEntryAttributesOutput

type DescribeSnatEntryAttributesOutput struct {
	Metadata *response.ResponseMetadata

	EipAddress *string `type:"string"`

	EipId *string `type:"string"`

	NatGatewayId *string `type:"string"`

	RequestId *string `type:"string"`

	SnatEntryId *string `type:"string"`

	SnatEntryName *string `type:"string"`

	Status *string `type:"string"`

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

func (DescribeSnatEntryAttributesOutput) GoString

GoString returns the string representation

func (*DescribeSnatEntryAttributesOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*DescribeSnatEntryAttributesOutput) SetEipId

SetEipId sets the EipId field's value.

func (*DescribeSnatEntryAttributesOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeSnatEntryAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeSnatEntryAttributesOutput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (*DescribeSnatEntryAttributesOutput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (*DescribeSnatEntryAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeSnatEntryAttributesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (DescribeSnatEntryAttributesOutput) String

String returns the string representation

type EipAddressForDescribeNatGatewayAttributesOutput

type EipAddressForDescribeNatGatewayAttributesOutput struct {
	AllocationId *string `type:"string"`

	EipAddress *string `type:"string"`

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

func (EipAddressForDescribeNatGatewayAttributesOutput) GoString

GoString returns the string representation

func (*EipAddressForDescribeNatGatewayAttributesOutput) SetAllocationId

SetAllocationId sets the AllocationId field's value.

func (*EipAddressForDescribeNatGatewayAttributesOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*EipAddressForDescribeNatGatewayAttributesOutput) SetUsingStatus

SetUsingStatus sets the UsingStatus field's value.

func (EipAddressForDescribeNatGatewayAttributesOutput) String

String returns the string representation

type EipAddressForDescribeNatGatewaysOutput

type EipAddressForDescribeNatGatewaysOutput struct {
	AllocationId *string `type:"string"`

	EipAddress *string `type:"string"`

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

func (EipAddressForDescribeNatGatewaysOutput) GoString

GoString returns the string representation

func (*EipAddressForDescribeNatGatewaysOutput) SetAllocationId

SetAllocationId sets the AllocationId field's value.

func (*EipAddressForDescribeNatGatewaysOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*EipAddressForDescribeNatGatewaysOutput) SetUsingStatus

SetUsingStatus sets the UsingStatus field's value.

func (EipAddressForDescribeNatGatewaysOutput) String

String returns the string representation

type ModifyNatGatewayAttributesInput

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

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

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

	Spec *string `type:"string" enum:"SpecForModifyNatGatewayAttributesInput"`
	// contains filtered or unexported fields
}

func (ModifyNatGatewayAttributesInput) GoString

GoString returns the string representation

func (*ModifyNatGatewayAttributesInput) SetDescription

SetDescription sets the Description field's value.

func (*ModifyNatGatewayAttributesInput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*ModifyNatGatewayAttributesInput) SetNatGatewayName

SetNatGatewayName sets the NatGatewayName field's value.

func (*ModifyNatGatewayAttributesInput) SetSpec

SetSpec sets the Spec field's value.

func (ModifyNatGatewayAttributesInput) String

String returns the string representation

func (*ModifyNatGatewayAttributesInput) Validate

func (s *ModifyNatGatewayAttributesInput) Validate() error

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

type ModifyNatGatewayAttributesOutput

type ModifyNatGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

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

func (ModifyNatGatewayAttributesOutput) GoString

GoString returns the string representation

func (*ModifyNatGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ModifyNatGatewayAttributesOutput) String

String returns the string representation

type ModifySnatEntryAttributesInput

type ModifySnatEntryAttributesInput struct {
	EipId *string `type:"string"`

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

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

func (ModifySnatEntryAttributesInput) GoString

GoString returns the string representation

func (*ModifySnatEntryAttributesInput) SetEipId

SetEipId sets the EipId field's value.

func (*ModifySnatEntryAttributesInput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (*ModifySnatEntryAttributesInput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (ModifySnatEntryAttributesInput) String

String returns the string representation

func (*ModifySnatEntryAttributesInput) Validate

func (s *ModifySnatEntryAttributesInput) Validate() error

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

type ModifySnatEntryAttributesOutput

type ModifySnatEntryAttributesOutput struct {
	Metadata *response.ResponseMetadata

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

func (ModifySnatEntryAttributesOutput) GoString

GoString returns the string representation

func (*ModifySnatEntryAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ModifySnatEntryAttributesOutput) String

String returns the string representation

type NATGATEWAY

type NATGATEWAY struct {
	*client.Client
}

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

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

func New

New create int can support ssl or region locate set

func (*NATGATEWAY) CreateNatGateway

func (c *NATGATEWAY) CreateNatGateway(input *CreateNatGatewayInput) (*CreateNatGatewayOutput, error)

CreateNatGateway API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateNatGateway for usage and error information.

func (*NATGATEWAY) CreateNatGatewayCommon

func (c *NATGATEWAY) CreateNatGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateNatGatewayCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateNatGatewayCommon for usage and error information.

func (*NATGATEWAY) CreateNatGatewayCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) CreateNatGatewayCommonWithContext

func (c *NATGATEWAY) CreateNatGatewayCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See CreateNatGatewayCommon 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 (*NATGATEWAY) CreateNatGatewayRequest

func (c *NATGATEWAY) CreateNatGatewayRequest(input *CreateNatGatewayInput) (req *request.Request, output *CreateNatGatewayOutput)

CreateNatGatewayRequest generates a "volcengine/request.Request" representing the client's request for the CreateNatGateway operation. The "output" return value will be populated with the CreateNatGatewayCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) CreateNatGatewayWithContext

func (c *NATGATEWAY) CreateNatGatewayWithContext(ctx volcengine.Context, input *CreateNatGatewayInput, opts ...request.Option) (*CreateNatGatewayOutput, error)

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

See CreateNatGateway 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 (*NATGATEWAY) CreateSnatEntry

func (c *NATGATEWAY) CreateSnatEntry(input *CreateSnatEntryInput) (*CreateSnatEntryOutput, error)

CreateSnatEntry API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateSnatEntry for usage and error information.

func (*NATGATEWAY) CreateSnatEntryCommon

func (c *NATGATEWAY) CreateSnatEntryCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateSnatEntryCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateSnatEntryCommon for usage and error information.

func (*NATGATEWAY) CreateSnatEntryCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) CreateSnatEntryCommonWithContext

func (c *NATGATEWAY) CreateSnatEntryCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See CreateSnatEntryCommon 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 (*NATGATEWAY) CreateSnatEntryRequest

func (c *NATGATEWAY) CreateSnatEntryRequest(input *CreateSnatEntryInput) (req *request.Request, output *CreateSnatEntryOutput)

CreateSnatEntryRequest generates a "volcengine/request.Request" representing the client's request for the CreateSnatEntry operation. The "output" return value will be populated with the CreateSnatEntryCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) CreateSnatEntryWithContext

func (c *NATGATEWAY) CreateSnatEntryWithContext(ctx volcengine.Context, input *CreateSnatEntryInput, opts ...request.Option) (*CreateSnatEntryOutput, error)

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

See CreateSnatEntry 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 (*NATGATEWAY) DeleteNatGateway

func (c *NATGATEWAY) DeleteNatGateway(input *DeleteNatGatewayInput) (*DeleteNatGatewayOutput, error)

DeleteNatGateway API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteNatGateway for usage and error information.

func (*NATGATEWAY) DeleteNatGatewayCommon

func (c *NATGATEWAY) DeleteNatGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteNatGatewayCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteNatGatewayCommon for usage and error information.

func (*NATGATEWAY) DeleteNatGatewayCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) DeleteNatGatewayCommonWithContext

func (c *NATGATEWAY) DeleteNatGatewayCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DeleteNatGatewayCommon 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 (*NATGATEWAY) DeleteNatGatewayRequest

func (c *NATGATEWAY) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) (req *request.Request, output *DeleteNatGatewayOutput)

DeleteNatGatewayRequest generates a "volcengine/request.Request" representing the client's request for the DeleteNatGateway operation. The "output" return value will be populated with the DeleteNatGatewayCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) DeleteNatGatewayWithContext

func (c *NATGATEWAY) DeleteNatGatewayWithContext(ctx volcengine.Context, input *DeleteNatGatewayInput, opts ...request.Option) (*DeleteNatGatewayOutput, error)

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

See DeleteNatGateway 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 (*NATGATEWAY) DeleteSnatEntry

func (c *NATGATEWAY) DeleteSnatEntry(input *DeleteSnatEntryInput) (*DeleteSnatEntryOutput, error)

DeleteSnatEntry API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteSnatEntry for usage and error information.

func (*NATGATEWAY) DeleteSnatEntryCommon

func (c *NATGATEWAY) DeleteSnatEntryCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteSnatEntryCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteSnatEntryCommon for usage and error information.

func (*NATGATEWAY) DeleteSnatEntryCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) DeleteSnatEntryCommonWithContext

func (c *NATGATEWAY) DeleteSnatEntryCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DeleteSnatEntryCommon 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 (*NATGATEWAY) DeleteSnatEntryRequest

func (c *NATGATEWAY) DeleteSnatEntryRequest(input *DeleteSnatEntryInput) (req *request.Request, output *DeleteSnatEntryOutput)

DeleteSnatEntryRequest generates a "volcengine/request.Request" representing the client's request for the DeleteSnatEntry operation. The "output" return value will be populated with the DeleteSnatEntryCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) DeleteSnatEntryWithContext

func (c *NATGATEWAY) DeleteSnatEntryWithContext(ctx volcengine.Context, input *DeleteSnatEntryInput, opts ...request.Option) (*DeleteSnatEntryOutput, error)

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

See DeleteSnatEntry 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 (*NATGATEWAY) DescribeNatGatewayAttributes

func (c *NATGATEWAY) DescribeNatGatewayAttributes(input *DescribeNatGatewayAttributesInput) (*DescribeNatGatewayAttributesOutput, error)

DescribeNatGatewayAttributes API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGatewayAttributes for usage and error information.

func (*NATGATEWAY) DescribeNatGatewayAttributesCommon

func (c *NATGATEWAY) DescribeNatGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeNatGatewayAttributesCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGatewayAttributesCommon for usage and error information.

func (*NATGATEWAY) DescribeNatGatewayAttributesCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) DescribeNatGatewayAttributesCommonWithContext

func (c *NATGATEWAY) DescribeNatGatewayAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DescribeNatGatewayAttributesCommon 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 (*NATGATEWAY) DescribeNatGatewayAttributesRequest

func (c *NATGATEWAY) DescribeNatGatewayAttributesRequest(input *DescribeNatGatewayAttributesInput) (req *request.Request, output *DescribeNatGatewayAttributesOutput)

DescribeNatGatewayAttributesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNatGatewayAttributes operation. The "output" return value will be populated with the DescribeNatGatewayAttributesCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) DescribeNatGatewayAttributesWithContext

func (c *NATGATEWAY) DescribeNatGatewayAttributesWithContext(ctx volcengine.Context, input *DescribeNatGatewayAttributesInput, opts ...request.Option) (*DescribeNatGatewayAttributesOutput, error)

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

See DescribeNatGatewayAttributes 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 (*NATGATEWAY) DescribeNatGateways

func (c *NATGATEWAY) DescribeNatGateways(input *DescribeNatGatewaysInput) (*DescribeNatGatewaysOutput, error)

DescribeNatGateways API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGateways for usage and error information.

func (*NATGATEWAY) DescribeNatGatewaysCommon

func (c *NATGATEWAY) DescribeNatGatewaysCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeNatGatewaysCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGatewaysCommon for usage and error information.

func (*NATGATEWAY) DescribeNatGatewaysCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) DescribeNatGatewaysCommonWithContext

func (c *NATGATEWAY) DescribeNatGatewaysCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DescribeNatGatewaysCommon 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 (*NATGATEWAY) DescribeNatGatewaysRequest

func (c *NATGATEWAY) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) (req *request.Request, output *DescribeNatGatewaysOutput)

DescribeNatGatewaysRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNatGateways operation. The "output" return value will be populated with the DescribeNatGatewaysCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) DescribeNatGatewaysWithContext

func (c *NATGATEWAY) DescribeNatGatewaysWithContext(ctx volcengine.Context, input *DescribeNatGatewaysInput, opts ...request.Option) (*DescribeNatGatewaysOutput, error)

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

See DescribeNatGateways 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 (*NATGATEWAY) DescribeSnatEntries

func (c *NATGATEWAY) DescribeSnatEntries(input *DescribeSnatEntriesInput) (*DescribeSnatEntriesOutput, error)

DescribeSnatEntries API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntries for usage and error information.

func (*NATGATEWAY) DescribeSnatEntriesCommon

func (c *NATGATEWAY) DescribeSnatEntriesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeSnatEntriesCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntriesCommon for usage and error information.

func (*NATGATEWAY) DescribeSnatEntriesCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) DescribeSnatEntriesCommonWithContext

func (c *NATGATEWAY) DescribeSnatEntriesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DescribeSnatEntriesCommon 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 (*NATGATEWAY) DescribeSnatEntriesRequest

func (c *NATGATEWAY) DescribeSnatEntriesRequest(input *DescribeSnatEntriesInput) (req *request.Request, output *DescribeSnatEntriesOutput)

DescribeSnatEntriesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSnatEntries operation. The "output" return value will be populated with the DescribeSnatEntriesCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) DescribeSnatEntriesWithContext

func (c *NATGATEWAY) DescribeSnatEntriesWithContext(ctx volcengine.Context, input *DescribeSnatEntriesInput, opts ...request.Option) (*DescribeSnatEntriesOutput, error)

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

See DescribeSnatEntries 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 (*NATGATEWAY) DescribeSnatEntryAttributes

func (c *NATGATEWAY) DescribeSnatEntryAttributes(input *DescribeSnatEntryAttributesInput) (*DescribeSnatEntryAttributesOutput, error)

DescribeSnatEntryAttributes API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntryAttributes for usage and error information.

func (*NATGATEWAY) DescribeSnatEntryAttributesCommon

func (c *NATGATEWAY) DescribeSnatEntryAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeSnatEntryAttributesCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntryAttributesCommon for usage and error information.

func (*NATGATEWAY) DescribeSnatEntryAttributesCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) DescribeSnatEntryAttributesCommonWithContext

func (c *NATGATEWAY) DescribeSnatEntryAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DescribeSnatEntryAttributesCommon 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 (*NATGATEWAY) DescribeSnatEntryAttributesRequest

func (c *NATGATEWAY) DescribeSnatEntryAttributesRequest(input *DescribeSnatEntryAttributesInput) (req *request.Request, output *DescribeSnatEntryAttributesOutput)

DescribeSnatEntryAttributesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSnatEntryAttributes operation. The "output" return value will be populated with the DescribeSnatEntryAttributesCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) DescribeSnatEntryAttributesWithContext

func (c *NATGATEWAY) DescribeSnatEntryAttributesWithContext(ctx volcengine.Context, input *DescribeSnatEntryAttributesInput, opts ...request.Option) (*DescribeSnatEntryAttributesOutput, error)

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

See DescribeSnatEntryAttributes 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 (*NATGATEWAY) ModifyNatGatewayAttributes

func (c *NATGATEWAY) ModifyNatGatewayAttributes(input *ModifyNatGatewayAttributesInput) (*ModifyNatGatewayAttributesOutput, error)

ModifyNatGatewayAttributes API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifyNatGatewayAttributes for usage and error information.

func (*NATGATEWAY) ModifyNatGatewayAttributesCommon

func (c *NATGATEWAY) ModifyNatGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyNatGatewayAttributesCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifyNatGatewayAttributesCommon for usage and error information.

func (*NATGATEWAY) ModifyNatGatewayAttributesCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) ModifyNatGatewayAttributesCommonWithContext

func (c *NATGATEWAY) ModifyNatGatewayAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ModifyNatGatewayAttributesCommon 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 (*NATGATEWAY) ModifyNatGatewayAttributesRequest

func (c *NATGATEWAY) ModifyNatGatewayAttributesRequest(input *ModifyNatGatewayAttributesInput) (req *request.Request, output *ModifyNatGatewayAttributesOutput)

ModifyNatGatewayAttributesRequest generates a "volcengine/request.Request" representing the client's request for the ModifyNatGatewayAttributes operation. The "output" return value will be populated with the ModifyNatGatewayAttributesCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) ModifyNatGatewayAttributesWithContext

func (c *NATGATEWAY) ModifyNatGatewayAttributesWithContext(ctx volcengine.Context, input *ModifyNatGatewayAttributesInput, opts ...request.Option) (*ModifyNatGatewayAttributesOutput, error)

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

See ModifyNatGatewayAttributes 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 (*NATGATEWAY) ModifySnatEntryAttributes

func (c *NATGATEWAY) ModifySnatEntryAttributes(input *ModifySnatEntryAttributesInput) (*ModifySnatEntryAttributesOutput, error)

ModifySnatEntryAttributes API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifySnatEntryAttributes for usage and error information.

func (*NATGATEWAY) ModifySnatEntryAttributesCommon

func (c *NATGATEWAY) ModifySnatEntryAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifySnatEntryAttributesCommon API operation for NATGATEWAY.

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

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifySnatEntryAttributesCommon for usage and error information.

func (*NATGATEWAY) ModifySnatEntryAttributesCommonRequest

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

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

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

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

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

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

func (*NATGATEWAY) ModifySnatEntryAttributesCommonWithContext

func (c *NATGATEWAY) ModifySnatEntryAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ModifySnatEntryAttributesCommon 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 (*NATGATEWAY) ModifySnatEntryAttributesRequest

func (c *NATGATEWAY) ModifySnatEntryAttributesRequest(input *ModifySnatEntryAttributesInput) (req *request.Request, output *ModifySnatEntryAttributesOutput)

ModifySnatEntryAttributesRequest generates a "volcengine/request.Request" representing the client's request for the ModifySnatEntryAttributes operation. The "output" return value will be populated with the ModifySnatEntryAttributesCommon request's response once the request completes successfully.

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

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

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

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

func (*NATGATEWAY) ModifySnatEntryAttributesWithContext

func (c *NATGATEWAY) ModifySnatEntryAttributesWithContext(ctx volcengine.Context, input *ModifySnatEntryAttributesInput, opts ...request.Option) (*ModifySnatEntryAttributesOutput, error)

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

See ModifySnatEntryAttributes 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 NATGATEWAYAPI

type NATGATEWAYAPI interface {
	CreateNatGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateNatGatewayCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateNatGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateNatGateway(*CreateNatGatewayInput) (*CreateNatGatewayOutput, error)
	CreateNatGatewayWithContext(volcengine.Context, *CreateNatGatewayInput, ...request.Option) (*CreateNatGatewayOutput, error)
	CreateNatGatewayRequest(*CreateNatGatewayInput) (*request.Request, *CreateNatGatewayOutput)

	CreateSnatEntryCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateSnatEntryCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateSnatEntryCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateSnatEntry(*CreateSnatEntryInput) (*CreateSnatEntryOutput, error)
	CreateSnatEntryWithContext(volcengine.Context, *CreateSnatEntryInput, ...request.Option) (*CreateSnatEntryOutput, error)
	CreateSnatEntryRequest(*CreateSnatEntryInput) (*request.Request, *CreateSnatEntryOutput)

	DeleteNatGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteNatGatewayCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteNatGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteNatGateway(*DeleteNatGatewayInput) (*DeleteNatGatewayOutput, error)
	DeleteNatGatewayWithContext(volcengine.Context, *DeleteNatGatewayInput, ...request.Option) (*DeleteNatGatewayOutput, error)
	DeleteNatGatewayRequest(*DeleteNatGatewayInput) (*request.Request, *DeleteNatGatewayOutput)

	DeleteSnatEntryCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteSnatEntryCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteSnatEntryCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteSnatEntry(*DeleteSnatEntryInput) (*DeleteSnatEntryOutput, error)
	DeleteSnatEntryWithContext(volcengine.Context, *DeleteSnatEntryInput, ...request.Option) (*DeleteSnatEntryOutput, error)
	DeleteSnatEntryRequest(*DeleteSnatEntryInput) (*request.Request, *DeleteSnatEntryOutput)

	DescribeNatGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeNatGatewayAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeNatGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeNatGatewayAttributes(*DescribeNatGatewayAttributesInput) (*DescribeNatGatewayAttributesOutput, error)
	DescribeNatGatewayAttributesWithContext(volcengine.Context, *DescribeNatGatewayAttributesInput, ...request.Option) (*DescribeNatGatewayAttributesOutput, error)
	DescribeNatGatewayAttributesRequest(*DescribeNatGatewayAttributesInput) (*request.Request, *DescribeNatGatewayAttributesOutput)

	DescribeNatGatewaysCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeNatGatewaysCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeNatGatewaysCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeNatGateways(*DescribeNatGatewaysInput) (*DescribeNatGatewaysOutput, error)
	DescribeNatGatewaysWithContext(volcengine.Context, *DescribeNatGatewaysInput, ...request.Option) (*DescribeNatGatewaysOutput, error)
	DescribeNatGatewaysRequest(*DescribeNatGatewaysInput) (*request.Request, *DescribeNatGatewaysOutput)

	DescribeSnatEntriesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeSnatEntriesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeSnatEntriesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeSnatEntries(*DescribeSnatEntriesInput) (*DescribeSnatEntriesOutput, error)
	DescribeSnatEntriesWithContext(volcengine.Context, *DescribeSnatEntriesInput, ...request.Option) (*DescribeSnatEntriesOutput, error)
	DescribeSnatEntriesRequest(*DescribeSnatEntriesInput) (*request.Request, *DescribeSnatEntriesOutput)

	DescribeSnatEntryAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeSnatEntryAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeSnatEntryAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeSnatEntryAttributes(*DescribeSnatEntryAttributesInput) (*DescribeSnatEntryAttributesOutput, error)
	DescribeSnatEntryAttributesWithContext(volcengine.Context, *DescribeSnatEntryAttributesInput, ...request.Option) (*DescribeSnatEntryAttributesOutput, error)
	DescribeSnatEntryAttributesRequest(*DescribeSnatEntryAttributesInput) (*request.Request, *DescribeSnatEntryAttributesOutput)

	ModifyNatGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyNatGatewayAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyNatGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyNatGatewayAttributes(*ModifyNatGatewayAttributesInput) (*ModifyNatGatewayAttributesOutput, error)
	ModifyNatGatewayAttributesWithContext(volcengine.Context, *ModifyNatGatewayAttributesInput, ...request.Option) (*ModifyNatGatewayAttributesOutput, error)
	ModifyNatGatewayAttributesRequest(*ModifyNatGatewayAttributesInput) (*request.Request, *ModifyNatGatewayAttributesOutput)

	ModifySnatEntryAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifySnatEntryAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifySnatEntryAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifySnatEntryAttributes(*ModifySnatEntryAttributesInput) (*ModifySnatEntryAttributesOutput, error)
	ModifySnatEntryAttributesWithContext(volcengine.Context, *ModifySnatEntryAttributesInput, ...request.Option) (*ModifySnatEntryAttributesOutput, error)
	ModifySnatEntryAttributesRequest(*ModifySnatEntryAttributesInput) (*request.Request, *ModifySnatEntryAttributesOutput)
}

NATGATEWAYAPI provides an interface to enable mocking the natgateway.NATGATEWAY service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// NATGATEWAY.
func myFunc(svc NATGATEWAYAPI) bool {
    // Make svc.CreateNatGateway request
}

func main() {
    sess := session.New()
    svc := natgateway.New(sess)

    myFunc(svc)
}

type NatGatewayForDescribeNatGatewaysOutput

type NatGatewayForDescribeNatGatewaysOutput struct {
	BillingType *int64 `type:"integer"`

	BusinessStatus *string `type:"string"`

	CreationTime *string `type:"string"`

	DeletedTime *string `type:"string"`

	Description *string `type:"string"`

	EipAddresses []*EipAddressForDescribeNatGatewaysOutput `type:"list"`

	ExpiredTime *string `type:"string"`

	LockReason *string `type:"string"`

	NatGatewayId *string `type:"string"`

	NatGatewayName *string `type:"string"`

	NetworkInterfaceId *string `type:"string"`

	OverdueTime *string `type:"string"`

	Spec *string `type:"string"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`

	UpdatedAt *string `type:"string"`

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

func (NatGatewayForDescribeNatGatewaysOutput) GoString

GoString returns the string representation

func (*NatGatewayForDescribeNatGatewaysOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetBusinessStatus

SetBusinessStatus sets the BusinessStatus field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetDeletedTime

SetDeletedTime sets the DeletedTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetDescription

SetDescription sets the Description field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetEipAddresses

SetEipAddresses sets the EipAddresses field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetExpiredTime added in v1.0.8

SetExpiredTime sets the ExpiredTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetLockReason

SetLockReason sets the LockReason field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetNatGatewayName

SetNatGatewayName sets the NatGatewayName field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetNetworkInterfaceId

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetOverdueTime

SetOverdueTime sets the OverdueTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetSpec

SetSpec sets the Spec field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetStatus

SetStatus sets the Status field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (NatGatewayForDescribeNatGatewaysOutput) String

String returns the string representation

type SnatEntryForDescribeSnatEntriesOutput

type SnatEntryForDescribeSnatEntriesOutput struct {
	EipAddress *string `type:"string"`

	EipId *string `type:"string"`

	NatGatewayId *string `type:"string"`

	SnatEntryId *string `type:"string"`

	SnatEntryName *string `type:"string"`

	Status *string `type:"string"`

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

func (SnatEntryForDescribeSnatEntriesOutput) GoString

GoString returns the string representation

func (*SnatEntryForDescribeSnatEntriesOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetEipId

SetEipId sets the EipId field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetStatus

SetStatus sets the Status field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (SnatEntryForDescribeSnatEntriesOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

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