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 |
Gets information about a specific work team. You can see information such as the create date, the last updated date, membership information, and the work team's Amazon Resource Name (ARN).
Synopsis
- data DescribeWorkteam = DescribeWorkteam' {
- workteamName :: Text
- newDescribeWorkteam :: Text -> DescribeWorkteam
- describeWorkteam_workteamName :: Lens' DescribeWorkteam Text
- data DescribeWorkteamResponse = DescribeWorkteamResponse' {
- httpStatus :: Int
- workteam :: Workteam
- newDescribeWorkteamResponse :: Int -> Workteam -> DescribeWorkteamResponse
- describeWorkteamResponse_httpStatus :: Lens' DescribeWorkteamResponse Int
- describeWorkteamResponse_workteam :: Lens' DescribeWorkteamResponse Workteam
Creating a Request
data DescribeWorkteam Source #
See: newDescribeWorkteam
smart constructor.
DescribeWorkteam' | |
|
Instances
Create a value of DescribeWorkteam
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:workteamName:DescribeWorkteam'
, describeWorkteam_workteamName
- The name of the work team to return a description of.
Request Lenses
describeWorkteam_workteamName :: Lens' DescribeWorkteam Text Source #
The name of the work team to return a description of.
Destructuring the Response
data DescribeWorkteamResponse Source #
See: newDescribeWorkteamResponse
smart constructor.
DescribeWorkteamResponse' | |
|
Instances
newDescribeWorkteamResponse Source #
:: Int | |
-> Workteam | |
-> DescribeWorkteamResponse |
Create a value of DescribeWorkteamResponse
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:DescribeWorkteamResponse'
, describeWorkteamResponse_httpStatus
- The response's http status code.
$sel:workteam:DescribeWorkteamResponse'
, describeWorkteamResponse_workteam
- A Workteam
instance that contains information about the work team.
Response Lenses
describeWorkteamResponse_httpStatus :: Lens' DescribeWorkteamResponse Int Source #
The response's http status code.
describeWorkteamResponse_workteam :: Lens' DescribeWorkteamResponse Workteam Source #
A Workteam
instance that contains information about the work team.