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 a list of the work teams that you are subscribed to in the Amazon
Web Services Marketplace. The list may be empty if no work team
satisfies the filter specified in the NameContains
parameter.
This operation returns paginated results.
Synopsis
- data ListSubscribedWorkteams = ListSubscribedWorkteams' {}
- newListSubscribedWorkteams :: ListSubscribedWorkteams
- listSubscribedWorkteams_nameContains :: Lens' ListSubscribedWorkteams (Maybe Text)
- listSubscribedWorkteams_nextToken :: Lens' ListSubscribedWorkteams (Maybe Text)
- listSubscribedWorkteams_maxResults :: Lens' ListSubscribedWorkteams (Maybe Natural)
- data ListSubscribedWorkteamsResponse = ListSubscribedWorkteamsResponse' {}
- newListSubscribedWorkteamsResponse :: Int -> ListSubscribedWorkteamsResponse
- listSubscribedWorkteamsResponse_nextToken :: Lens' ListSubscribedWorkteamsResponse (Maybe Text)
- listSubscribedWorkteamsResponse_httpStatus :: Lens' ListSubscribedWorkteamsResponse Int
- listSubscribedWorkteamsResponse_subscribedWorkteams :: Lens' ListSubscribedWorkteamsResponse [SubscribedWorkteam]
Creating a Request
data ListSubscribedWorkteams Source #
See: newListSubscribedWorkteams
smart constructor.
ListSubscribedWorkteams' | |
|
Instances
newListSubscribedWorkteams :: ListSubscribedWorkteams Source #
Create a value of ListSubscribedWorkteams
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:nameContains:ListSubscribedWorkteams'
, listSubscribedWorkteams_nameContains
- A string in the work team name. This filter returns only work teams
whose name contains the specified string.
$sel:nextToken:ListSubscribedWorkteams'
, listSubscribedWorkteams_nextToken
- If the result of the previous ListSubscribedWorkteams
request was
truncated, the response includes a NextToken
. To retrieve the next set
of labeling jobs, use the token in the next request.
$sel:maxResults:ListSubscribedWorkteams'
, listSubscribedWorkteams_maxResults
- The maximum number of work teams to return in each page of the response.
Request Lenses
listSubscribedWorkteams_nameContains :: Lens' ListSubscribedWorkteams (Maybe Text) Source #
A string in the work team name. This filter returns only work teams whose name contains the specified string.
listSubscribedWorkteams_nextToken :: Lens' ListSubscribedWorkteams (Maybe Text) Source #
If the result of the previous ListSubscribedWorkteams
request was
truncated, the response includes a NextToken
. To retrieve the next set
of labeling jobs, use the token in the next request.
listSubscribedWorkteams_maxResults :: Lens' ListSubscribedWorkteams (Maybe Natural) Source #
The maximum number of work teams to return in each page of the response.
Destructuring the Response
data ListSubscribedWorkteamsResponse Source #
See: newListSubscribedWorkteamsResponse
smart constructor.
ListSubscribedWorkteamsResponse' | |
|
Instances
newListSubscribedWorkteamsResponse Source #
Create a value of ListSubscribedWorkteamsResponse
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:nextToken:ListSubscribedWorkteams'
, listSubscribedWorkteamsResponse_nextToken
- If the response is truncated, Amazon SageMaker returns this token. To
retrieve the next set of work teams, use it in the subsequent request.
$sel:httpStatus:ListSubscribedWorkteamsResponse'
, listSubscribedWorkteamsResponse_httpStatus
- The response's http status code.
$sel:subscribedWorkteams:ListSubscribedWorkteamsResponse'
, listSubscribedWorkteamsResponse_subscribedWorkteams
- An array of Workteam
objects, each describing a work team.
Response Lenses
listSubscribedWorkteamsResponse_nextToken :: Lens' ListSubscribedWorkteamsResponse (Maybe Text) Source #
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.
listSubscribedWorkteamsResponse_httpStatus :: Lens' ListSubscribedWorkteamsResponse Int Source #
The response's http status code.
listSubscribedWorkteamsResponse_subscribedWorkteams :: Lens' ListSubscribedWorkteamsResponse [SubscribedWorkteam] Source #
An array of Workteam
objects, each describing a work team.