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 summary of all of the pipelines associated with your account.
This operation returns paginated results.
Synopsis
- data ListPipelines = ListPipelines' {}
- newListPipelines :: ListPipelines
- listPipelines_nextToken :: Lens' ListPipelines (Maybe Text)
- listPipelines_maxResults :: Lens' ListPipelines (Maybe Natural)
- data ListPipelinesResponse = ListPipelinesResponse' {
- pipelines :: Maybe [PipelineSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListPipelinesResponse :: Int -> ListPipelinesResponse
- listPipelinesResponse_pipelines :: Lens' ListPipelinesResponse (Maybe [PipelineSummary])
- listPipelinesResponse_nextToken :: Lens' ListPipelinesResponse (Maybe Text)
- listPipelinesResponse_httpStatus :: Lens' ListPipelinesResponse Int
Creating a Request
data ListPipelines Source #
Represents the input of a ListPipelines
action.
See: newListPipelines
smart constructor.
ListPipelines' | |
|
Instances
newListPipelines :: ListPipelines Source #
Create a value of ListPipelines
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:ListPipelines'
, listPipelines_nextToken
- An identifier that was returned from the previous list pipelines call.
It can be used to return the next set of pipelines in the list.
$sel:maxResults:ListPipelines'
, listPipelines_maxResults
- The maximum number of pipelines to return in a single call. To retrieve
the remaining pipelines, make another call with the returned nextToken
value. The minimum value you can specify is 1. The maximum accepted
value is 1000.
Request Lenses
listPipelines_nextToken :: Lens' ListPipelines (Maybe Text) Source #
An identifier that was returned from the previous list pipelines call. It can be used to return the next set of pipelines in the list.
listPipelines_maxResults :: Lens' ListPipelines (Maybe Natural) Source #
The maximum number of pipelines to return in a single call. To retrieve the remaining pipelines, make another call with the returned nextToken value. The minimum value you can specify is 1. The maximum accepted value is 1000.
Destructuring the Response
data ListPipelinesResponse Source #
Represents the output of a ListPipelines
action.
See: newListPipelinesResponse
smart constructor.
ListPipelinesResponse' | |
|
Instances
newListPipelinesResponse Source #
Create a value of ListPipelinesResponse
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:pipelines:ListPipelinesResponse'
, listPipelinesResponse_pipelines
- The list of pipelines.
$sel:nextToken:ListPipelines'
, listPipelinesResponse_nextToken
- If the amount of returned information is significantly large, an
identifier is also returned. It can be used in a subsequent list
pipelines call to return the next set of pipelines in the list.
$sel:httpStatus:ListPipelinesResponse'
, listPipelinesResponse_httpStatus
- The response's http status code.
Response Lenses
listPipelinesResponse_pipelines :: Lens' ListPipelinesResponse (Maybe [PipelineSummary]) Source #
The list of pipelines.
listPipelinesResponse_nextToken :: Lens' ListPipelinesResponse (Maybe Text) Source #
If the amount of returned information is significantly large, an identifier is also returned. It can be used in a subsequent list pipelines call to return the next set of pipelines in the list.
listPipelinesResponse_httpStatus :: Lens' ListPipelinesResponse Int Source #
The response's http status code.