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 |
Describes the available directories that are registered with Amazon WorkSpaces.
This operation returns paginated results.
Synopsis
- data DescribeWorkspaceDirectories = DescribeWorkspaceDirectories' {}
- newDescribeWorkspaceDirectories :: DescribeWorkspaceDirectories
- describeWorkspaceDirectories_nextToken :: Lens' DescribeWorkspaceDirectories (Maybe Text)
- describeWorkspaceDirectories_directoryIds :: Lens' DescribeWorkspaceDirectories (Maybe (NonEmpty Text))
- describeWorkspaceDirectories_limit :: Lens' DescribeWorkspaceDirectories (Maybe Natural)
- data DescribeWorkspaceDirectoriesResponse = DescribeWorkspaceDirectoriesResponse' {}
- newDescribeWorkspaceDirectoriesResponse :: Int -> DescribeWorkspaceDirectoriesResponse
- describeWorkspaceDirectoriesResponse_directories :: Lens' DescribeWorkspaceDirectoriesResponse (Maybe [WorkspaceDirectory])
- describeWorkspaceDirectoriesResponse_nextToken :: Lens' DescribeWorkspaceDirectoriesResponse (Maybe Text)
- describeWorkspaceDirectoriesResponse_httpStatus :: Lens' DescribeWorkspaceDirectoriesResponse Int
Creating a Request
data DescribeWorkspaceDirectories Source #
See: newDescribeWorkspaceDirectories
smart constructor.
DescribeWorkspaceDirectories' | |
|
Instances
newDescribeWorkspaceDirectories :: DescribeWorkspaceDirectories Source #
Create a value of DescribeWorkspaceDirectories
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:DescribeWorkspaceDirectories'
, describeWorkspaceDirectories_nextToken
- If you received a NextToken
from a previous call that was paginated,
provide this token to receive the next set of results.
$sel:directoryIds:DescribeWorkspaceDirectories'
, describeWorkspaceDirectories_directoryIds
- The identifiers of the directories. If the value is null, all
directories are retrieved.
$sel:limit:DescribeWorkspaceDirectories'
, describeWorkspaceDirectories_limit
- The maximum number of directories to return.
Request Lenses
describeWorkspaceDirectories_nextToken :: Lens' DescribeWorkspaceDirectories (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.
describeWorkspaceDirectories_directoryIds :: Lens' DescribeWorkspaceDirectories (Maybe (NonEmpty Text)) Source #
The identifiers of the directories. If the value is null, all directories are retrieved.
describeWorkspaceDirectories_limit :: Lens' DescribeWorkspaceDirectories (Maybe Natural) Source #
The maximum number of directories to return.
Destructuring the Response
data DescribeWorkspaceDirectoriesResponse Source #
See: newDescribeWorkspaceDirectoriesResponse
smart constructor.
DescribeWorkspaceDirectoriesResponse' | |
|
Instances
newDescribeWorkspaceDirectoriesResponse Source #
Create a value of DescribeWorkspaceDirectoriesResponse
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:directories:DescribeWorkspaceDirectoriesResponse'
, describeWorkspaceDirectoriesResponse_directories
- Information about the directories.
$sel:nextToken:DescribeWorkspaceDirectories'
, describeWorkspaceDirectoriesResponse_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:DescribeWorkspaceDirectoriesResponse'
, describeWorkspaceDirectoriesResponse_httpStatus
- The response's http status code.
Response Lenses
describeWorkspaceDirectoriesResponse_directories :: Lens' DescribeWorkspaceDirectoriesResponse (Maybe [WorkspaceDirectory]) Source #
Information about the directories.
describeWorkspaceDirectoriesResponse_nextToken :: Lens' DescribeWorkspaceDirectoriesResponse (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.
describeWorkspaceDirectoriesResponse_httpStatus :: Lens' DescribeWorkspaceDirectoriesResponse Int Source #
The response's http status code.