| 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.Athena.GetWorkGroup
Description
Returns information about the workgroup with the specified name.
Synopsis
- data GetWorkGroup = GetWorkGroup' {}
- newGetWorkGroup :: Text -> GetWorkGroup
- getWorkGroup_workGroup :: Lens' GetWorkGroup Text
- data GetWorkGroupResponse = GetWorkGroupResponse' {
- workGroup :: Maybe WorkGroup
- httpStatus :: Int
- newGetWorkGroupResponse :: Int -> GetWorkGroupResponse
- getWorkGroupResponse_workGroup :: Lens' GetWorkGroupResponse (Maybe WorkGroup)
- getWorkGroupResponse_httpStatus :: Lens' GetWorkGroupResponse Int
Creating a Request
data GetWorkGroup Source #
See: newGetWorkGroup smart constructor.
Constructors
| GetWorkGroup' | |
Instances
Arguments
| :: Text | |
| -> GetWorkGroup |
Create a value of GetWorkGroup 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:
GetWorkGroup, getWorkGroup_workGroup - The name of the workgroup.
Request Lenses
getWorkGroup_workGroup :: Lens' GetWorkGroup Text Source #
The name of the workgroup.
Destructuring the Response
data GetWorkGroupResponse Source #
See: newGetWorkGroupResponse smart constructor.
Constructors
| GetWorkGroupResponse' | |
Fields
| |
Instances
newGetWorkGroupResponse Source #
Arguments
| :: Int | |
| -> GetWorkGroupResponse |
Create a value of GetWorkGroupResponse 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:
GetWorkGroup, getWorkGroupResponse_workGroup - Information about the workgroup.
$sel:httpStatus:GetWorkGroupResponse', getWorkGroupResponse_httpStatus - The response's http status code.
Response Lenses
getWorkGroupResponse_workGroup :: Lens' GetWorkGroupResponse (Maybe WorkGroup) Source #
Information about the workgroup.
getWorkGroupResponse_httpStatus :: Lens' GetWorkGroupResponse Int Source #
The response's http status code.