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 |
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.
Instances
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:
$sel:workGroup: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.
GetWorkGroupResponse' | |
|
Instances
newGetWorkGroupResponse Source #
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:
$sel:workGroup: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.