amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.ClientVpnEndpointStatus

Description

 
Synopsis

Documentation

data ClientVpnEndpointStatus Source #

Describes the state of a Client VPN endpoint.

See: newClientVpnEndpointStatus smart constructor.

Constructors

ClientVpnEndpointStatus' 

Fields

  • code :: Maybe ClientVpnEndpointStatusCode

    The state of the Client VPN endpoint. Possible states include:

    • pending-associate - The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections.
    • available - The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections.
    • deleting - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections.
    • deleted - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
  • message :: Maybe Text

    A message about the status of the Client VPN endpoint.

Instances

Instances details
FromXML ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

Generic ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

Associated Types

type Rep ClientVpnEndpointStatus :: Type -> Type #

Read ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

Show ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

NFData ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

Methods

rnf :: ClientVpnEndpointStatus -> () #

Eq ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

Hashable ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

type Rep ClientVpnEndpointStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.ClientVpnEndpointStatus

type Rep ClientVpnEndpointStatus = D1 ('MetaData "ClientVpnEndpointStatus" "Amazonka.EC2.Types.ClientVpnEndpointStatus" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ClientVpnEndpointStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientVpnEndpointStatusCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newClientVpnEndpointStatus :: ClientVpnEndpointStatus Source #

Create a value of ClientVpnEndpointStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:code:ClientVpnEndpointStatus', clientVpnEndpointStatus_code - The state of the Client VPN endpoint. Possible states include:

  • pending-associate - The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections.
  • available - The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections.
  • deleting - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections.
  • deleted - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.

$sel:message:ClientVpnEndpointStatus', clientVpnEndpointStatus_message - A message about the status of the Client VPN endpoint.

clientVpnEndpointStatus_code :: Lens' ClientVpnEndpointStatus (Maybe ClientVpnEndpointStatusCode) Source #

The state of the Client VPN endpoint. Possible states include:

  • pending-associate - The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections.
  • available - The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections.
  • deleting - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections.
  • deleted - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.

clientVpnEndpointStatus_message :: Lens' ClientVpnEndpointStatus (Maybe Text) Source #

A message about the status of the Client VPN endpoint.