| 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 |
Amazonka.WorkSpaces.DescribeIpGroups
Description
Describes one or more of your IP access control groups.
This operation returns paginated results.
Synopsis
- data DescribeIpGroups = DescribeIpGroups' {}
- newDescribeIpGroups :: DescribeIpGroups
- describeIpGroups_groupIds :: Lens' DescribeIpGroups (Maybe [Text])
- describeIpGroups_maxResults :: Lens' DescribeIpGroups (Maybe Natural)
- describeIpGroups_nextToken :: Lens' DescribeIpGroups (Maybe Text)
- data DescribeIpGroupsResponse = DescribeIpGroupsResponse' {
- nextToken :: Maybe Text
- result :: Maybe [WorkspacesIpGroup]
- httpStatus :: Int
- newDescribeIpGroupsResponse :: Int -> DescribeIpGroupsResponse
- describeIpGroupsResponse_nextToken :: Lens' DescribeIpGroupsResponse (Maybe Text)
- describeIpGroupsResponse_result :: Lens' DescribeIpGroupsResponse (Maybe [WorkspacesIpGroup])
- describeIpGroupsResponse_httpStatus :: Lens' DescribeIpGroupsResponse Int
Creating a Request
data DescribeIpGroups Source #
See: newDescribeIpGroups smart constructor.
Constructors
| DescribeIpGroups' | |
Instances
newDescribeIpGroups :: DescribeIpGroups Source #
Create a value of DescribeIpGroups 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:groupIds:DescribeIpGroups', describeIpGroups_groupIds - The identifiers of one or more IP access control groups.
$sel:maxResults:DescribeIpGroups', describeIpGroups_maxResults - The maximum number of items to return.
DescribeIpGroups, describeIpGroups_nextToken - If you received a NextToken from a previous call that was paginated,
provide this token to receive the next set of results.
Request Lenses
describeIpGroups_groupIds :: Lens' DescribeIpGroups (Maybe [Text]) Source #
The identifiers of one or more IP access control groups.
describeIpGroups_maxResults :: Lens' DescribeIpGroups (Maybe Natural) Source #
The maximum number of items to return.
describeIpGroups_nextToken :: Lens' DescribeIpGroups (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.
Destructuring the Response
data DescribeIpGroupsResponse Source #
See: newDescribeIpGroupsResponse smart constructor.
Constructors
| DescribeIpGroupsResponse' | |
Fields
| |
Instances
newDescribeIpGroupsResponse Source #
Create a value of DescribeIpGroupsResponse 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:
DescribeIpGroups, describeIpGroupsResponse_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:result:DescribeIpGroupsResponse', describeIpGroupsResponse_result - Information about the IP access control groups.
$sel:httpStatus:DescribeIpGroupsResponse', describeIpGroupsResponse_httpStatus - The response's http status code.
Response Lenses
describeIpGroupsResponse_nextToken :: Lens' DescribeIpGroupsResponse (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.
describeIpGroupsResponse_result :: Lens' DescribeIpGroupsResponse (Maybe [WorkspacesIpGroup]) Source #
Information about the IP access control groups.
describeIpGroupsResponse_httpStatus :: Lens' DescribeIpGroupsResponse Int Source #
The response's http status code.