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 |
Displays information about one Amazon Managed Grafana workspace.
Synopsis
- data DescribeWorkspace = DescribeWorkspace' {
- workspaceId :: Text
- newDescribeWorkspace :: Text -> DescribeWorkspace
- describeWorkspace_workspaceId :: Lens' DescribeWorkspace Text
- data DescribeWorkspaceResponse = DescribeWorkspaceResponse' {}
- newDescribeWorkspaceResponse :: Int -> WorkspaceDescription -> DescribeWorkspaceResponse
- describeWorkspaceResponse_httpStatus :: Lens' DescribeWorkspaceResponse Int
- describeWorkspaceResponse_workspace :: Lens' DescribeWorkspaceResponse WorkspaceDescription
Creating a Request
data DescribeWorkspace Source #
See: newDescribeWorkspace
smart constructor.
DescribeWorkspace' | |
|
Instances
Create a value of DescribeWorkspace
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:workspaceId:DescribeWorkspace'
, describeWorkspace_workspaceId
- The ID of the workspace to display information about.
Request Lenses
describeWorkspace_workspaceId :: Lens' DescribeWorkspace Text Source #
The ID of the workspace to display information about.
Destructuring the Response
data DescribeWorkspaceResponse Source #
See: newDescribeWorkspaceResponse
smart constructor.
DescribeWorkspaceResponse' | |
|
Instances
newDescribeWorkspaceResponse Source #
Create a value of DescribeWorkspaceResponse
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:httpStatus:DescribeWorkspaceResponse'
, describeWorkspaceResponse_httpStatus
- The response's http status code.
$sel:workspace:DescribeWorkspaceResponse'
, describeWorkspaceResponse_workspace
- A structure containing information about the workspace.
Response Lenses
describeWorkspaceResponse_httpStatus :: Lens' DescribeWorkspaceResponse Int Source #
The response's http status code.
describeWorkspaceResponse_workspace :: Lens' DescribeWorkspaceResponse WorkspaceDescription Source #
A structure containing information about the workspace.