| 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.DeletePipe
Description
Delete an existing pipe. For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.
Synopsis
- data DeletePipe = DeletePipe' {}
- newDeletePipe :: Text -> DeletePipe
- deletePipe_name :: Lens' DeletePipe Text
- data DeletePipeResponse = DeletePipeResponse' {}
- newDeletePipeResponse :: Int -> DeletePipeResponse
- deletePipeResponse_arn :: Lens' DeletePipeResponse (Maybe Text)
- deletePipeResponse_creationTime :: Lens' DeletePipeResponse (Maybe UTCTime)
- deletePipeResponse_currentState :: Lens' DeletePipeResponse (Maybe PipeState)
- deletePipeResponse_desiredState :: Lens' DeletePipeResponse (Maybe RequestedPipeStateDescribeResponse)
- deletePipeResponse_lastModifiedTime :: Lens' DeletePipeResponse (Maybe UTCTime)
- deletePipeResponse_name :: Lens' DeletePipeResponse (Maybe Text)
- deletePipeResponse_httpStatus :: Lens' DeletePipeResponse Int
Creating a Request
data DeletePipe Source #
See: newDeletePipe smart constructor.
Constructors
| DeletePipe' | |
Instances
Arguments
| :: Text | |
| -> DeletePipe |
Create a value of DeletePipe 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:
DeletePipe, deletePipe_name - The name of the pipe.
Request Lenses
deletePipe_name :: Lens' DeletePipe Text Source #
The name of the pipe.
Destructuring the Response
data DeletePipeResponse Source #
See: newDeletePipeResponse smart constructor.
Constructors
| DeletePipeResponse' | |
Fields
| |
Instances
newDeletePipeResponse Source #
Arguments
| :: Int | |
| -> DeletePipeResponse |
Create a value of DeletePipeResponse 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:
DeletePipeResponse, deletePipeResponse_arn - The ARN of the pipe.
DeletePipeResponse, deletePipeResponse_creationTime - The time the pipe was created.
DeletePipeResponse, deletePipeResponse_currentState - The state the pipe is in.
DeletePipeResponse, deletePipeResponse_desiredState - The state the pipe should be in.
DeletePipeResponse, deletePipeResponse_lastModifiedTime - When the pipe was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
DeletePipe, deletePipeResponse_name - The name of the pipe.
$sel:httpStatus:DeletePipeResponse', deletePipeResponse_httpStatus - The response's http status code.
Response Lenses
deletePipeResponse_arn :: Lens' DeletePipeResponse (Maybe Text) Source #
The ARN of the pipe.
deletePipeResponse_creationTime :: Lens' DeletePipeResponse (Maybe UTCTime) Source #
The time the pipe was created.
deletePipeResponse_currentState :: Lens' DeletePipeResponse (Maybe PipeState) Source #
The state the pipe is in.
deletePipeResponse_desiredState :: Lens' DeletePipeResponse (Maybe RequestedPipeStateDescribeResponse) Source #
The state the pipe should be in.
deletePipeResponse_lastModifiedTime :: Lens' DeletePipeResponse (Maybe UTCTime) Source #
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
deletePipeResponse_name :: Lens' DeletePipeResponse (Maybe Text) Source #
The name of the pipe.
deletePipeResponse_httpStatus :: Lens' DeletePipeResponse Int Source #
The response's http status code.