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 |
Describes the authorization rules for a specified Client VPN endpoint.
This operation returns paginated results.
Synopsis
- data DescribeClientVpnAuthorizationRules = DescribeClientVpnAuthorizationRules' {}
- newDescribeClientVpnAuthorizationRules :: Text -> DescribeClientVpnAuthorizationRules
- describeClientVpnAuthorizationRules_dryRun :: Lens' DescribeClientVpnAuthorizationRules (Maybe Bool)
- describeClientVpnAuthorizationRules_filters :: Lens' DescribeClientVpnAuthorizationRules (Maybe [Filter])
- describeClientVpnAuthorizationRules_maxResults :: Lens' DescribeClientVpnAuthorizationRules (Maybe Natural)
- describeClientVpnAuthorizationRules_nextToken :: Lens' DescribeClientVpnAuthorizationRules (Maybe Text)
- describeClientVpnAuthorizationRules_clientVpnEndpointId :: Lens' DescribeClientVpnAuthorizationRules Text
- data DescribeClientVpnAuthorizationRulesResponse = DescribeClientVpnAuthorizationRulesResponse' {}
- newDescribeClientVpnAuthorizationRulesResponse :: Int -> DescribeClientVpnAuthorizationRulesResponse
- describeClientVpnAuthorizationRulesResponse_authorizationRules :: Lens' DescribeClientVpnAuthorizationRulesResponse (Maybe [AuthorizationRule])
- describeClientVpnAuthorizationRulesResponse_nextToken :: Lens' DescribeClientVpnAuthorizationRulesResponse (Maybe Text)
- describeClientVpnAuthorizationRulesResponse_httpStatus :: Lens' DescribeClientVpnAuthorizationRulesResponse Int
Creating a Request
data DescribeClientVpnAuthorizationRules Source #
See: newDescribeClientVpnAuthorizationRules
smart constructor.
DescribeClientVpnAuthorizationRules' | |
|
Instances
newDescribeClientVpnAuthorizationRules Source #
Create a value of DescribeClientVpnAuthorizationRules
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:DescribeClientVpnAuthorizationRules'
, describeClientVpnAuthorizationRules_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:DescribeClientVpnAuthorizationRules'
, describeClientVpnAuthorizationRules_filters
- One or more filters. Filter names and values are case-sensitive.
description
- The description of the authorization rule.destination-cidr
- The CIDR of the network to which the authorization rule applies.group-id
- The ID of the Active Directory group to which the authorization rule grants access.
$sel:maxResults:DescribeClientVpnAuthorizationRules'
, describeClientVpnAuthorizationRules_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.
DescribeClientVpnAuthorizationRules
, describeClientVpnAuthorizationRules_nextToken
- The token to retrieve the next page of results.
DescribeClientVpnAuthorizationRules
, describeClientVpnAuthorizationRules_clientVpnEndpointId
- The ID of the Client VPN endpoint.
Request Lenses
describeClientVpnAuthorizationRules_dryRun :: Lens' DescribeClientVpnAuthorizationRules (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
.
describeClientVpnAuthorizationRules_filters :: Lens' DescribeClientVpnAuthorizationRules (Maybe [Filter]) Source #
One or more filters. Filter names and values are case-sensitive.
description
- The description of the authorization rule.destination-cidr
- The CIDR of the network to which the authorization rule applies.group-id
- The ID of the Active Directory group to which the authorization rule grants access.
describeClientVpnAuthorizationRules_maxResults :: Lens' DescribeClientVpnAuthorizationRules (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.
describeClientVpnAuthorizationRules_nextToken :: Lens' DescribeClientVpnAuthorizationRules (Maybe Text) Source #
The token to retrieve the next page of results.
describeClientVpnAuthorizationRules_clientVpnEndpointId :: Lens' DescribeClientVpnAuthorizationRules Text Source #
The ID of the Client VPN endpoint.
Destructuring the Response
data DescribeClientVpnAuthorizationRulesResponse Source #
See: newDescribeClientVpnAuthorizationRulesResponse
smart constructor.
DescribeClientVpnAuthorizationRulesResponse' | |
|
Instances
newDescribeClientVpnAuthorizationRulesResponse Source #
:: Int |
|
-> DescribeClientVpnAuthorizationRulesResponse |
Create a value of DescribeClientVpnAuthorizationRulesResponse
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:authorizationRules:DescribeClientVpnAuthorizationRulesResponse'
, describeClientVpnAuthorizationRulesResponse_authorizationRules
- Information about the authorization rules.
DescribeClientVpnAuthorizationRules
, describeClientVpnAuthorizationRulesResponse_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:DescribeClientVpnAuthorizationRulesResponse'
, describeClientVpnAuthorizationRulesResponse_httpStatus
- The response's http status code.
Response Lenses
describeClientVpnAuthorizationRulesResponse_authorizationRules :: Lens' DescribeClientVpnAuthorizationRulesResponse (Maybe [AuthorizationRule]) Source #
Information about the authorization rules.
describeClientVpnAuthorizationRulesResponse_nextToken :: Lens' DescribeClientVpnAuthorizationRulesResponse (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.
describeClientVpnAuthorizationRulesResponse_httpStatus :: Lens' DescribeClientVpnAuthorizationRulesResponse Int Source #
The response's http status code.