Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Describes the available AWS Directory Service directories that are registered with Amazon WorkSpaces.
This operation returns paginated results.
- describeWorkspaceDirectories :: DescribeWorkspaceDirectories
- data DescribeWorkspaceDirectories
- dwdNextToken :: Lens' DescribeWorkspaceDirectories (Maybe Text)
- dwdDirectoryIds :: Lens' DescribeWorkspaceDirectories (Maybe (NonEmpty Text))
- describeWorkspaceDirectoriesResponse :: Int -> DescribeWorkspaceDirectoriesResponse
- data DescribeWorkspaceDirectoriesResponse
- dwdrsDirectories :: Lens' DescribeWorkspaceDirectoriesResponse [WorkspaceDirectory]
- dwdrsNextToken :: Lens' DescribeWorkspaceDirectoriesResponse (Maybe Text)
- dwdrsResponseStatus :: Lens' DescribeWorkspaceDirectoriesResponse Int
Creating a Request
describeWorkspaceDirectories :: DescribeWorkspaceDirectories Source #
Creates a value of DescribeWorkspaceDirectories
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dwdNextToken
- The token for the next set of results. (You received this token from a previous call.)dwdDirectoryIds
- The identifiers of the directories. If the value is null, all directories are retrieved.
data DescribeWorkspaceDirectories Source #
See: describeWorkspaceDirectories
smart constructor.
Request Lenses
dwdNextToken :: Lens' DescribeWorkspaceDirectories (Maybe Text) Source #
The token for the next set of results. (You received this token from a previous call.)
dwdDirectoryIds :: Lens' DescribeWorkspaceDirectories (Maybe (NonEmpty Text)) Source #
The identifiers of the directories. If the value is null, all directories are retrieved.
Destructuring the Response
describeWorkspaceDirectoriesResponse Source #
Creates a value of DescribeWorkspaceDirectoriesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dwdrsDirectories
- Information about the directories.dwdrsNextToken
- The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.dwdrsResponseStatus
- -- | The response status code.
data DescribeWorkspaceDirectoriesResponse Source #
See: describeWorkspaceDirectoriesResponse
smart constructor.
Response Lenses
dwdrsDirectories :: Lens' DescribeWorkspaceDirectoriesResponse [WorkspaceDirectory] Source #
Information about the directories.
dwdrsNextToken :: Lens' DescribeWorkspaceDirectoriesResponse (Maybe Text) Source #
The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.
dwdrsResponseStatus :: Lens' DescribeWorkspaceDirectoriesResponse Int Source #
- - | The response status code.