Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Removes an ingress authorization rule from a Client VPN endpoint.
Synopsis
- data RevokeClientVpnIngress = RevokeClientVpnIngress' {}
- newRevokeClientVpnIngress :: Text -> Text -> RevokeClientVpnIngress
- revokeClientVpnIngress_accessGroupId :: Lens' RevokeClientVpnIngress (Maybe Text)
- revokeClientVpnIngress_dryRun :: Lens' RevokeClientVpnIngress (Maybe Bool)
- revokeClientVpnIngress_revokeAllGroups :: Lens' RevokeClientVpnIngress (Maybe Bool)
- revokeClientVpnIngress_clientVpnEndpointId :: Lens' RevokeClientVpnIngress Text
- revokeClientVpnIngress_targetNetworkCidr :: Lens' RevokeClientVpnIngress Text
- data RevokeClientVpnIngressResponse = RevokeClientVpnIngressResponse' {}
- newRevokeClientVpnIngressResponse :: Int -> RevokeClientVpnIngressResponse
- revokeClientVpnIngressResponse_status :: Lens' RevokeClientVpnIngressResponse (Maybe ClientVpnAuthorizationRuleStatus)
- revokeClientVpnIngressResponse_httpStatus :: Lens' RevokeClientVpnIngressResponse Int
Creating a Request
data RevokeClientVpnIngress Source #
See: newRevokeClientVpnIngress
smart constructor.
RevokeClientVpnIngress' | |
|
Instances
newRevokeClientVpnIngress Source #
:: Text | |
-> Text | |
-> RevokeClientVpnIngress |
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.
RevokeClientVpnIngressResponse' | |
|
Instances
Generic RevokeClientVpnIngressResponse Source # | |
Read RevokeClientVpnIngressResponse Source # | |
Show RevokeClientVpnIngressResponse Source # | |
Defined in Amazonka.EC2.RevokeClientVpnIngress | |
NFData RevokeClientVpnIngressResponse Source # | |
Defined in Amazonka.EC2.RevokeClientVpnIngress rnf :: RevokeClientVpnIngressResponse -> () # | |
Eq RevokeClientVpnIngressResponse Source # | |
type Rep RevokeClientVpnIngressResponse Source # | |
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
revokeClientVpnIngressResponse_status :: Lens' RevokeClientVpnIngressResponse (Maybe ClientVpnAuthorizationRuleStatus) Source #
The current state of the authorization rule.
revokeClientVpnIngressResponse_httpStatus :: Lens' RevokeClientVpnIngressResponse Int Source #
The response's http status code.