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 |
Start an existing pipe.
Synopsis
- data StartPipe = StartPipe' {}
- newStartPipe :: Text -> StartPipe
- startPipe_name :: Lens' StartPipe Text
- data StartPipeResponse = StartPipeResponse' {}
- newStartPipeResponse :: Int -> StartPipeResponse
- startPipeResponse_arn :: Lens' StartPipeResponse (Maybe Text)
- startPipeResponse_creationTime :: Lens' StartPipeResponse (Maybe UTCTime)
- startPipeResponse_currentState :: Lens' StartPipeResponse (Maybe PipeState)
- startPipeResponse_desiredState :: Lens' StartPipeResponse (Maybe RequestedPipeState)
- startPipeResponse_lastModifiedTime :: Lens' StartPipeResponse (Maybe UTCTime)
- startPipeResponse_name :: Lens' StartPipeResponse (Maybe Text)
- startPipeResponse_httpStatus :: Lens' StartPipeResponse Int
Creating a Request
See: newStartPipe
smart constructor.
Instances
Create a value of StartPipe
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:
StartPipe
, startPipe_name
- The name of the pipe.
Request Lenses
Destructuring the Response
data StartPipeResponse Source #
See: newStartPipeResponse
smart constructor.
StartPipeResponse' | |
|
Instances
Create a value of StartPipeResponse
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:
StartPipeResponse
, startPipeResponse_arn
- The ARN of the pipe.
StartPipeResponse
, startPipeResponse_creationTime
- The time the pipe was created.
StartPipeResponse
, startPipeResponse_currentState
- The state the pipe is in.
StartPipeResponse
, startPipeResponse_desiredState
- The state the pipe should be in.
StartPipeResponse
, startPipeResponse_lastModifiedTime
- When the pipe was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
StartPipe
, startPipeResponse_name
- The name of the pipe.
$sel:httpStatus:StartPipeResponse'
, startPipeResponse_httpStatus
- The response's http status code.
Response Lenses
startPipeResponse_arn :: Lens' StartPipeResponse (Maybe Text) Source #
The ARN of the pipe.
startPipeResponse_creationTime :: Lens' StartPipeResponse (Maybe UTCTime) Source #
The time the pipe was created.
startPipeResponse_currentState :: Lens' StartPipeResponse (Maybe PipeState) Source #
The state the pipe is in.
startPipeResponse_desiredState :: Lens' StartPipeResponse (Maybe RequestedPipeState) Source #
The state the pipe should be in.
startPipeResponse_lastModifiedTime :: Lens' StartPipeResponse (Maybe UTCTime) Source #
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
startPipeResponse_name :: Lens' StartPipeResponse (Maybe Text) Source #
The name of the pipe.
startPipeResponse_httpStatus :: Lens' StartPipeResponse Int Source #
The response's http status code.