| 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.AMP.DescribeWorkspace
Description
Describes an existing AMP 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 #
Represents the input of a DescribeWorkspace operation.
See: newDescribeWorkspace smart constructor.
Constructors
| DescribeWorkspace' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeWorkspace |
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:
DescribeWorkspace, describeWorkspace_workspaceId - The ID of the workspace to describe.
Request Lenses
describeWorkspace_workspaceId :: Lens' DescribeWorkspace Text Source #
The ID of the workspace to describe.
Destructuring the Response
data DescribeWorkspaceResponse Source #
Represents the output of a DescribeWorkspace operation.
See: newDescribeWorkspaceResponse smart constructor.
Constructors
| DescribeWorkspaceResponse' | |
Fields
| |
Instances
newDescribeWorkspaceResponse Source #
Arguments
| :: Int | |
| -> WorkspaceDescription | |
| -> DescribeWorkspaceResponse |
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.
DescribeWorkspaceResponse, describeWorkspaceResponse_workspace - The properties of the selected workspace.
Response Lenses
describeWorkspaceResponse_httpStatus :: Lens' DescribeWorkspaceResponse Int Source #
The response's http status code.
describeWorkspaceResponse_workspace :: Lens' DescribeWorkspaceResponse WorkspaceDescription Source #
The properties of the selected workspace.