AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ClientVpnConnection

import "github.com/aws/aws-sdk-go/service/ec2"

type ClientVpnConnection struct { ClientIp *string `locationName:"clientIp" type:"string"` ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` CommonName *string `locationName:"commonName" type:"string"` ConnectionEndTime *string `locationName:"connectionEndTime" type:"string"` ConnectionEstablishedTime *string `locationName:"connectionEstablishedTime" type:"string"` ConnectionId *string `locationName:"connectionId" type:"string"` EgressBytes *string `locationName:"egressBytes" type:"string"` EgressPackets *string `locationName:"egressPackets" type:"string"` IngressBytes *string `locationName:"ingressBytes" type:"string"` IngressPackets *string `locationName:"ingressPackets" type:"string"` Status *ClientVpnConnectionStatus `locationName:"status" type:"structure"` Timestamp *string `locationName:"timestamp" type:"string"` Username *string `locationName:"username" type:"string"` }

Describes a client connection.

ClientIp

Type: *string

The IP address of the client.

ClientVpnEndpointId

Type: *string

The ID of the Client VPN endpoint to which the client is connected.

CommonName

Type: *string

The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.

ConnectionEndTime

Type: *string

The date and time the client connection was terminated.

ConnectionEstablishedTime

Type: *string

The date and time the client connection was established.

ConnectionId

Type: *string

The ID of the client connection.

EgressBytes

Type: *string

The number of bytes received by the client.

EgressPackets

Type: *string

The number of packets received by the client.

IngressBytes

Type: *string

The number of bytes sent by the client.

IngressPackets

Type: *string

The number of packets sent by the client.

Status

Describes the status of a client connection.

Timestamp

Type: *string

The current date and time.

Username

Type: *string

The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.

Method

GoString

func (s ClientVpnConnection) GoString() string

GoString returns the string representation

SetClientIp

func (s *ClientVpnConnection) SetClientIp(v string) *ClientVpnConnection

SetClientIp sets the ClientIp field's value.

SetClientVpnEndpointId

func (s *ClientVpnConnection) SetClientVpnEndpointId(v string) *ClientVpnConnection

SetClientVpnEndpointId sets the ClientVpnEndpointId field's value.

SetCommonName

func (s *ClientVpnConnection) SetCommonName(v string) *ClientVpnConnection

SetCommonName sets the CommonName field's value.

SetConnectionEndTime

func (s *ClientVpnConnection) SetConnectionEndTime(v string) *ClientVpnConnection

SetConnectionEndTime sets the ConnectionEndTime field's value.

SetConnectionEstablishedTime

func (s *ClientVpnConnection) SetConnectionEstablishedTime(v string) *ClientVpnConnection

SetConnectionEstablishedTime sets the ConnectionEstablishedTime field's value.

SetConnectionId

func (s *ClientVpnConnection) SetConnectionId(v string) *ClientVpnConnection

SetConnectionId sets the ConnectionId field's value.

SetEgressBytes

func (s *ClientVpnConnection) SetEgressBytes(v string) *ClientVpnConnection

SetEgressBytes sets the EgressBytes field's value.

SetEgressPackets

func (s *ClientVpnConnection) SetEgressPackets(v string) *ClientVpnConnection

SetEgressPackets sets the EgressPackets field's value.

SetIngressBytes

func (s *ClientVpnConnection) SetIngressBytes(v string) *ClientVpnConnection

SetIngressBytes sets the IngressBytes field's value.

SetIngressPackets

func (s *ClientVpnConnection) SetIngressPackets(v string) *ClientVpnConnection

SetIngressPackets sets the IngressPackets field's value.

SetStatus

func (s *ClientVpnConnection) SetStatus(v *ClientVpnConnectionStatus) *ClientVpnConnection

SetStatus sets the Status field's value.

SetTimestamp

func (s *ClientVpnConnection) SetTimestamp(v string) *ClientVpnConnection

SetTimestamp sets the Timestamp field's value.

SetUsername

func (s *ClientVpnConnection) SetUsername(v string) *ClientVpnConnection

SetUsername sets the Username field's value.

String

func (s ClientVpnConnection) String() string

String returns the string representation

On this page: