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 |
Returns information about a specific workgroup.
Synopsis
- data GetWorkgroup = GetWorkgroup' {}
- newGetWorkgroup :: Text -> GetWorkgroup
- getWorkgroup_workgroupName :: Lens' GetWorkgroup Text
- data GetWorkgroupResponse = GetWorkgroupResponse' {
- httpStatus :: Int
- workgroup :: Workgroup
- newGetWorkgroupResponse :: Int -> Workgroup -> GetWorkgroupResponse
- getWorkgroupResponse_httpStatus :: Lens' GetWorkgroupResponse Int
- getWorkgroupResponse_workgroup :: Lens' GetWorkgroupResponse Workgroup
Creating a Request
data GetWorkgroup Source #
See: newGetWorkgroup
smart constructor.
GetWorkgroup' | |
|
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:
GetWorkgroup
, getWorkgroup_workgroupName
- The name of the workgroup to return information for.
Request Lenses
getWorkgroup_workgroupName :: Lens' GetWorkgroup Text Source #
The name of the workgroup to return information for.
Destructuring the Response
data GetWorkgroupResponse Source #
See: newGetWorkgroupResponse
smart constructor.
GetWorkgroupResponse' | |
|
Instances
newGetWorkgroupResponse Source #
:: Int | |
-> Workgroup | |
-> 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:
$sel:httpStatus:GetWorkgroupResponse'
, getWorkgroupResponse_httpStatus
- The response's http status code.
$sel:workgroup:GetWorkgroupResponse'
, getWorkgroupResponse_workgroup
- The returned workgroup object.
Response Lenses
getWorkgroupResponse_httpStatus :: Lens' GetWorkgroupResponse Int Source #
The response's http status code.
getWorkgroupResponse_workgroup :: Lens' GetWorkgroupResponse Workgroup Source #
The returned workgroup object.