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 |
Get the pipes associated with this account. For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.
This operation returns paginated results.
Synopsis
- data ListPipes = ListPipes' {}
- newListPipes :: ListPipes
- listPipes_currentState :: Lens' ListPipes (Maybe PipeState)
- listPipes_desiredState :: Lens' ListPipes (Maybe RequestedPipeState)
- listPipes_limit :: Lens' ListPipes (Maybe Natural)
- listPipes_namePrefix :: Lens' ListPipes (Maybe Text)
- listPipes_nextToken :: Lens' ListPipes (Maybe Text)
- listPipes_sourcePrefix :: Lens' ListPipes (Maybe Text)
- listPipes_targetPrefix :: Lens' ListPipes (Maybe Text)
- data ListPipesResponse = ListPipesResponse' {}
- newListPipesResponse :: Int -> ListPipesResponse
- listPipesResponse_nextToken :: Lens' ListPipesResponse (Maybe Text)
- listPipesResponse_pipes :: Lens' ListPipesResponse (Maybe [Pipe])
- listPipesResponse_httpStatus :: Lens' ListPipesResponse Int
Creating a Request
See: newListPipes
smart constructor.
ListPipes' | |
|
Instances
newListPipes :: ListPipes Source #
Create a value of ListPipes
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:
ListPipes
, listPipes_currentState
- The state the pipe is in.
ListPipes
, listPipes_desiredState
- The state the pipe should be in.
$sel:limit:ListPipes'
, listPipes_limit
- The maximum number of pipes to include in the response.
$sel:namePrefix:ListPipes'
, listPipes_namePrefix
- A value that will return a subset of the pipes associated with this
account. For example, "NamePrefix": "ABC"
will return all
endpoints with "ABC" in the name.
ListPipes
, listPipes_nextToken
- If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken error.
$sel:sourcePrefix:ListPipes'
, listPipes_sourcePrefix
- The prefix matching the pipe source.
$sel:targetPrefix:ListPipes'
, listPipes_targetPrefix
- The prefix matching the pipe target.
Request Lenses
listPipes_desiredState :: Lens' ListPipes (Maybe RequestedPipeState) Source #
The state the pipe should be in.
listPipes_limit :: Lens' ListPipes (Maybe Natural) Source #
The maximum number of pipes to include in the response.
listPipes_namePrefix :: Lens' ListPipes (Maybe Text) Source #
A value that will return a subset of the pipes associated with this
account. For example, "NamePrefix": "ABC"
will return all
endpoints with "ABC" in the name.
listPipes_nextToken :: Lens' ListPipes (Maybe Text) Source #
If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken error.
Destructuring the Response
data ListPipesResponse Source #
See: newListPipesResponse
smart constructor.
ListPipesResponse' | |
|
Instances
Create a value of ListPipesResponse
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:
ListPipes
, listPipesResponse_nextToken
- If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken error.
$sel:pipes:ListPipesResponse'
, listPipesResponse_pipes
- The pipes returned by the call.
$sel:httpStatus:ListPipesResponse'
, listPipesResponse_httpStatus
- The response's http status code.
Response Lenses
listPipesResponse_nextToken :: Lens' ListPipesResponse (Maybe Text) Source #
If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken error.
listPipesResponse_pipes :: Lens' ListPipesResponse (Maybe [Pipe]) Source #
The pipes returned by the call.
listPipesResponse_httpStatus :: Lens' ListPipesResponse Int Source #
The response's http status code.