Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).
This operation can be run only by Amazon Web Services accounts that are
enabled for BYOL. If your account isn't enabled for BYOL, you'll
receive an AccessDeniedException
error.
The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
This operation returns paginated results.
Synopsis
- data ListAvailableManagementCidrRanges = ListAvailableManagementCidrRanges' {}
- newListAvailableManagementCidrRanges :: Text -> ListAvailableManagementCidrRanges
- listAvailableManagementCidrRanges_nextToken :: Lens' ListAvailableManagementCidrRanges (Maybe Text)
- listAvailableManagementCidrRanges_maxResults :: Lens' ListAvailableManagementCidrRanges (Maybe Natural)
- listAvailableManagementCidrRanges_managementCidrRangeConstraint :: Lens' ListAvailableManagementCidrRanges Text
- data ListAvailableManagementCidrRangesResponse = ListAvailableManagementCidrRangesResponse' {
- managementCidrRanges :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAvailableManagementCidrRangesResponse :: Int -> ListAvailableManagementCidrRangesResponse
- listAvailableManagementCidrRangesResponse_managementCidrRanges :: Lens' ListAvailableManagementCidrRangesResponse (Maybe [Text])
- listAvailableManagementCidrRangesResponse_nextToken :: Lens' ListAvailableManagementCidrRangesResponse (Maybe Text)
- listAvailableManagementCidrRangesResponse_httpStatus :: Lens' ListAvailableManagementCidrRangesResponse Int
Creating a Request
data ListAvailableManagementCidrRanges Source #
See: newListAvailableManagementCidrRanges
smart constructor.
ListAvailableManagementCidrRanges' | |
|
Instances
newListAvailableManagementCidrRanges Source #
:: Text |
|
-> ListAvailableManagementCidrRanges |
Create a value of ListAvailableManagementCidrRanges
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:nextToken:ListAvailableManagementCidrRanges'
, listAvailableManagementCidrRanges_nextToken
- If you received a NextToken
from a previous call that was paginated,
provide this token to receive the next set of results.
$sel:maxResults:ListAvailableManagementCidrRanges'
, listAvailableManagementCidrRanges_maxResults
- The maximum number of items to return.
$sel:managementCidrRangeConstraint:ListAvailableManagementCidrRanges'
, listAvailableManagementCidrRanges_managementCidrRangeConstraint
- The IP address range to search. Specify an IP address range that is
compatible with your network and in CIDR notation (that is, specify the
range as an IPv4 CIDR block).
Request Lenses
listAvailableManagementCidrRanges_nextToken :: Lens' ListAvailableManagementCidrRanges (Maybe Text) Source #
If you received a NextToken
from a previous call that was paginated,
provide this token to receive the next set of results.
listAvailableManagementCidrRanges_maxResults :: Lens' ListAvailableManagementCidrRanges (Maybe Natural) Source #
The maximum number of items to return.
listAvailableManagementCidrRanges_managementCidrRangeConstraint :: Lens' ListAvailableManagementCidrRanges Text Source #
The IP address range to search. Specify an IP address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 CIDR block).
Destructuring the Response
data ListAvailableManagementCidrRangesResponse Source #
See: newListAvailableManagementCidrRangesResponse
smart constructor.
ListAvailableManagementCidrRangesResponse' | |
|
Instances
newListAvailableManagementCidrRangesResponse Source #
Create a value of ListAvailableManagementCidrRangesResponse
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:managementCidrRanges:ListAvailableManagementCidrRangesResponse'
, listAvailableManagementCidrRangesResponse_managementCidrRanges
- The list of available IP address ranges, specified as IPv4 CIDR blocks.
$sel:nextToken:ListAvailableManagementCidrRanges'
, listAvailableManagementCidrRangesResponse_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:ListAvailableManagementCidrRangesResponse'
, listAvailableManagementCidrRangesResponse_httpStatus
- The response's http status code.
Response Lenses
listAvailableManagementCidrRangesResponse_managementCidrRanges :: Lens' ListAvailableManagementCidrRangesResponse (Maybe [Text]) Source #
The list of available IP address ranges, specified as IPv4 CIDR blocks.
listAvailableManagementCidrRangesResponse_nextToken :: Lens' ListAvailableManagementCidrRangesResponse (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.
listAvailableManagementCidrRangesResponse_httpStatus :: Lens' ListAvailableManagementCidrRangesResponse Int Source #
The response's http status code.