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

Description

Removes an ingress authorization rule from a Client VPN endpoint.

Synopsis

Creating a Request

data RevokeClientVpnIngress Source #

See: newRevokeClientVpnIngress smart constructor.

Constructors

RevokeClientVpnIngress' 

Fields

  • accessGroupId :: Maybe Text

    The ID of the Active Directory group for which to revoke access.

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

  • revokeAllGroups :: Maybe Bool

    Indicates whether access should be revoked for all clients.

  • clientVpnEndpointId :: Text

    The ID of the Client VPN endpoint with which the authorization rule is associated.

  • targetNetworkCidr :: Text

    The IPv4 address range, in CIDR notation, of the network for which access is being removed.

Instances

Instances details
ToHeaders RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

ToPath RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

ToQuery RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

AWSRequest RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Associated Types

type AWSResponse RevokeClientVpnIngress #

Generic RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Associated Types

type Rep RevokeClientVpnIngress :: Type -> Type #

Read RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Show RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

NFData RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Methods

rnf :: RevokeClientVpnIngress -> () #

Eq RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Hashable RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

type AWSResponse RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

type Rep RevokeClientVpnIngress Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

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

newRevokeClientVpnIngress Source #

Create a value of RevokeClientVpnIngress 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:accessGroupId:RevokeClientVpnIngress', revokeClientVpnIngress_accessGroupId - The ID of the Active Directory group for which to revoke access.

$sel:dryRun:RevokeClientVpnIngress', revokeClientVpnIngress_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:revokeAllGroups:RevokeClientVpnIngress', revokeClientVpnIngress_revokeAllGroups - Indicates whether access should be revoked for all clients.

RevokeClientVpnIngress, revokeClientVpnIngress_clientVpnEndpointId - The ID of the Client VPN endpoint with which the authorization rule is associated.

$sel:targetNetworkCidr:RevokeClientVpnIngress', revokeClientVpnIngress_targetNetworkCidr - The IPv4 address range, in CIDR notation, of the network for which access is being removed.

Request Lenses

revokeClientVpnIngress_accessGroupId :: Lens' RevokeClientVpnIngress (Maybe Text) Source #

The ID of the Active Directory group for which to revoke access.

revokeClientVpnIngress_dryRun :: Lens' RevokeClientVpnIngress (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.

revokeClientVpnIngress_revokeAllGroups :: Lens' RevokeClientVpnIngress (Maybe Bool) Source #

Indicates whether access should be revoked for all clients.

revokeClientVpnIngress_clientVpnEndpointId :: Lens' RevokeClientVpnIngress Text Source #

The ID of the Client VPN endpoint with which the authorization rule is associated.

revokeClientVpnIngress_targetNetworkCidr :: Lens' RevokeClientVpnIngress Text Source #

The IPv4 address range, in CIDR notation, of the network for which access is being removed.

Destructuring the Response

data RevokeClientVpnIngressResponse Source #

See: newRevokeClientVpnIngressResponse smart constructor.

Constructors

RevokeClientVpnIngressResponse' 

Fields

Instances

Instances details
Generic RevokeClientVpnIngressResponse Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Associated Types

type Rep RevokeClientVpnIngressResponse :: Type -> Type #

Read RevokeClientVpnIngressResponse Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Show RevokeClientVpnIngressResponse Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

NFData RevokeClientVpnIngressResponse Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

Eq RevokeClientVpnIngressResponse Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

type Rep RevokeClientVpnIngressResponse Source # 
Instance details

Defined in Amazonka.EC2.RevokeClientVpnIngress

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

newRevokeClientVpnIngressResponse Source #

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

RevokeClientVpnIngressResponse, revokeClientVpnIngressResponse_status - The current state of the authorization rule.

$sel:httpStatus:RevokeClientVpnIngressResponse', revokeClientVpnIngressResponse_httpStatus - The response's http status code.

Response Lenses