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.DescribeClientVpnConnections

Description

Describes active client connections and connections that have been terminated within the last 60 minutes for the specified Client VPN endpoint.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeClientVpnConnections Source #

See: newDescribeClientVpnConnections smart constructor.

Constructors

DescribeClientVpnConnections' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • filters :: Maybe [Filter]

    One or more filters. Filter names and values are case-sensitive.

    • connection-id - The ID of the connection.
    • username - For Active Directory client authentication, the user name of the client who established the client connection.
  • maxResults :: Maybe Natural

    The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

  • nextToken :: Maybe Text

    The token to retrieve the next page of results.

  • clientVpnEndpointId :: Text

    The ID of the Client VPN endpoint.

Instances

Instances details
ToHeaders DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

ToPath DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

ToQuery DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

AWSPager DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

AWSRequest DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Generic DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Associated Types

type Rep DescribeClientVpnConnections :: Type -> Type #

Read DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Show DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

NFData DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Eq DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Hashable DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

type AWSResponse DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

type Rep DescribeClientVpnConnections Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

type Rep DescribeClientVpnConnections = D1 ('MetaData "DescribeClientVpnConnections" "Amazonka.EC2.DescribeClientVpnConnections" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeClientVpnConnections'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientVpnEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDescribeClientVpnConnections Source #

Create a value of DescribeClientVpnConnections 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:dryRun:DescribeClientVpnConnections', describeClientVpnConnections_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

$sel:filters:DescribeClientVpnConnections', describeClientVpnConnections_filters - One or more filters. Filter names and values are case-sensitive.

  • connection-id - The ID of the connection.
  • username - For Active Directory client authentication, the user name of the client who established the client connection.

$sel:maxResults:DescribeClientVpnConnections', describeClientVpnConnections_maxResults - The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

DescribeClientVpnConnections, describeClientVpnConnections_nextToken - The token to retrieve the next page of results.

DescribeClientVpnConnections, describeClientVpnConnections_clientVpnEndpointId - The ID of the Client VPN endpoint.

Request Lenses

describeClientVpnConnections_dryRun :: Lens' DescribeClientVpnConnections (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

describeClientVpnConnections_filters :: Lens' DescribeClientVpnConnections (Maybe [Filter]) Source #

One or more filters. Filter names and values are case-sensitive.

  • connection-id - The ID of the connection.
  • username - For Active Directory client authentication, the user name of the client who established the client connection.

describeClientVpnConnections_maxResults :: Lens' DescribeClientVpnConnections (Maybe Natural) Source #

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

describeClientVpnConnections_nextToken :: Lens' DescribeClientVpnConnections (Maybe Text) Source #

The token to retrieve the next page of results.

Destructuring the Response

data DescribeClientVpnConnectionsResponse Source #

Constructors

DescribeClientVpnConnectionsResponse' 

Fields

Instances

Instances details
Generic DescribeClientVpnConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Read DescribeClientVpnConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Show DescribeClientVpnConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

NFData DescribeClientVpnConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

Eq DescribeClientVpnConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

type Rep DescribeClientVpnConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnConnections

type Rep DescribeClientVpnConnectionsResponse = D1 ('MetaData "DescribeClientVpnConnectionsResponse" "Amazonka.EC2.DescribeClientVpnConnections" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeClientVpnConnectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClientVpnConnection])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeClientVpnConnectionsResponse Source #

Create a value of DescribeClientVpnConnectionsResponse 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:connections:DescribeClientVpnConnectionsResponse', describeClientVpnConnectionsResponse_connections - Information about the active and terminated client connections.

DescribeClientVpnConnections, describeClientVpnConnectionsResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeClientVpnConnectionsResponse', describeClientVpnConnectionsResponse_httpStatus - The response's http status code.

Response Lenses

describeClientVpnConnectionsResponse_nextToken :: Lens' DescribeClientVpnConnectionsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.