| 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 |
Amazonka.Pipes.StopPipe
Description
Stop an existing pipe.
Synopsis
- data StopPipe = StopPipe' {}
- newStopPipe :: Text -> StopPipe
- stopPipe_name :: Lens' StopPipe Text
- data StopPipeResponse = StopPipeResponse' {}
- newStopPipeResponse :: Int -> StopPipeResponse
- stopPipeResponse_arn :: Lens' StopPipeResponse (Maybe Text)
- stopPipeResponse_creationTime :: Lens' StopPipeResponse (Maybe UTCTime)
- stopPipeResponse_currentState :: Lens' StopPipeResponse (Maybe PipeState)
- stopPipeResponse_desiredState :: Lens' StopPipeResponse (Maybe RequestedPipeState)
- stopPipeResponse_lastModifiedTime :: Lens' StopPipeResponse (Maybe UTCTime)
- stopPipeResponse_name :: Lens' StopPipeResponse (Maybe Text)
- stopPipeResponse_httpStatus :: Lens' StopPipeResponse Int
Creating a Request
See: newStopPipe smart constructor.
Instances
Create a value of StopPipe 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:
StopPipe, stopPipe_name - The name of the pipe.
Request Lenses
Destructuring the Response
data StopPipeResponse Source #
See: newStopPipeResponse smart constructor.
Constructors
| StopPipeResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> StopPipeResponse |
Create a value of StopPipeResponse 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:
StopPipeResponse, stopPipeResponse_arn - The ARN of the pipe.
StopPipeResponse, stopPipeResponse_creationTime - The time the pipe was created.
StopPipeResponse, stopPipeResponse_currentState - The state the pipe is in.
StopPipeResponse, stopPipeResponse_desiredState - The state the pipe should be in.
StopPipeResponse, stopPipeResponse_lastModifiedTime - When the pipe was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
StopPipe, stopPipeResponse_name - The name of the pipe.
$sel:httpStatus:StopPipeResponse', stopPipeResponse_httpStatus - The response's http status code.
Response Lenses
stopPipeResponse_arn :: Lens' StopPipeResponse (Maybe Text) Source #
The ARN of the pipe.
stopPipeResponse_creationTime :: Lens' StopPipeResponse (Maybe UTCTime) Source #
The time the pipe was created.
stopPipeResponse_currentState :: Lens' StopPipeResponse (Maybe PipeState) Source #
The state the pipe is in.
stopPipeResponse_desiredState :: Lens' StopPipeResponse (Maybe RequestedPipeState) Source #
The state the pipe should be in.
stopPipeResponse_lastModifiedTime :: Lens' StopPipeResponse (Maybe UTCTime) Source #
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
stopPipeResponse_name :: Lens' StopPipeResponse (Maybe Text) Source #
The name of the pipe.
stopPipeResponse_httpStatus :: Lens' StopPipeResponse Int Source #
The response's http status code.