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

Description

Deletes the specified Client VPN endpoint. You must disassociate all target networks before you can delete a Client VPN endpoint.

Synopsis

Creating a Request

data DeleteClientVpnEndpoint Source #

See: newDeleteClientVpnEndpoint smart constructor.

Constructors

DeleteClientVpnEndpoint' 

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.

  • clientVpnEndpointId :: Text

    The ID of the Client VPN to be deleted.

Instances

Instances details
ToHeaders DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

ToPath DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

ToQuery DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

AWSRequest DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Generic DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Associated Types

type Rep DeleteClientVpnEndpoint :: Type -> Type #

Read DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Show DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

NFData DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Methods

rnf :: DeleteClientVpnEndpoint -> () #

Eq DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Hashable DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

type AWSResponse DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

type Rep DeleteClientVpnEndpoint Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

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

newDeleteClientVpnEndpoint Source #

Create a value of DeleteClientVpnEndpoint 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:DeleteClientVpnEndpoint', deleteClientVpnEndpoint_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.

DeleteClientVpnEndpoint, deleteClientVpnEndpoint_clientVpnEndpointId - The ID of the Client VPN to be deleted.

Request Lenses

deleteClientVpnEndpoint_dryRun :: Lens' DeleteClientVpnEndpoint (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.

Destructuring the Response

data DeleteClientVpnEndpointResponse Source #

See: newDeleteClientVpnEndpointResponse smart constructor.

Constructors

DeleteClientVpnEndpointResponse' 

Fields

Instances

Instances details
Generic DeleteClientVpnEndpointResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Associated Types

type Rep DeleteClientVpnEndpointResponse :: Type -> Type #

Read DeleteClientVpnEndpointResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Show DeleteClientVpnEndpointResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

NFData DeleteClientVpnEndpointResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

Eq DeleteClientVpnEndpointResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

type Rep DeleteClientVpnEndpointResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteClientVpnEndpoint

type Rep DeleteClientVpnEndpointResponse = D1 ('MetaData "DeleteClientVpnEndpointResponse" "Amazonka.EC2.DeleteClientVpnEndpoint" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteClientVpnEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientVpnEndpointStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteClientVpnEndpointResponse Source #

Create a value of DeleteClientVpnEndpointResponse 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:

DeleteClientVpnEndpointResponse, deleteClientVpnEndpointResponse_status - The current state of the Client VPN endpoint.

$sel:httpStatus:DeleteClientVpnEndpointResponse', deleteClientVpnEndpointResponse_httpStatus - The response's http status code.

Response Lenses