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 |
Retrieves information about workspaces in the current account.
Synopsis
- data ListWorkspaces = ListWorkspaces' {}
- newListWorkspaces :: ListWorkspaces
- listWorkspaces_maxResults :: Lens' ListWorkspaces (Maybe Natural)
- listWorkspaces_nextToken :: Lens' ListWorkspaces (Maybe Text)
- data ListWorkspacesResponse = ListWorkspacesResponse' {}
- newListWorkspacesResponse :: Int -> ListWorkspacesResponse
- listWorkspacesResponse_nextToken :: Lens' ListWorkspacesResponse (Maybe Text)
- listWorkspacesResponse_workspaceSummaries :: Lens' ListWorkspacesResponse (Maybe [WorkspaceSummary])
- listWorkspacesResponse_httpStatus :: Lens' ListWorkspacesResponse Int
Creating a Request
data ListWorkspaces Source #
See: newListWorkspaces
smart constructor.
Instances
newListWorkspaces :: ListWorkspaces Source #
Create a value of ListWorkspaces
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:maxResults:ListWorkspaces'
, listWorkspaces_maxResults
- The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
ListWorkspaces
, listWorkspaces_nextToken
- The string that specifies the next page of results.
Request Lenses
listWorkspaces_maxResults :: Lens' ListWorkspaces (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
listWorkspaces_nextToken :: Lens' ListWorkspaces (Maybe Text) Source #
The string that specifies the next page of results.
Destructuring the Response
data ListWorkspacesResponse Source #
See: newListWorkspacesResponse
smart constructor.
ListWorkspacesResponse' | |
|
Instances
newListWorkspacesResponse Source #
Create a value of ListWorkspacesResponse
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:
ListWorkspaces
, listWorkspacesResponse_nextToken
- The string that specifies the next page of results.
$sel:workspaceSummaries:ListWorkspacesResponse'
, listWorkspacesResponse_workspaceSummaries
- A list of objects that contain information about the workspaces.
$sel:httpStatus:ListWorkspacesResponse'
, listWorkspacesResponse_httpStatus
- The response's http status code.
Response Lenses
listWorkspacesResponse_nextToken :: Lens' ListWorkspacesResponse (Maybe Text) Source #
The string that specifies the next page of results.
listWorkspacesResponse_workspaceSummaries :: Lens' ListWorkspacesResponse (Maybe [WorkspaceSummary]) Source #
A list of objects that contain information about the workspaces.
listWorkspacesResponse_httpStatus :: Lens' ListWorkspacesResponse Int Source #
The response's http status code.