| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Firehose.DeleteDeliveryStream
Description
Deletes a delivery stream and its data.
You can delete a delivery stream only if it is in ACTIVE or DELETING state, and not in the CREATING state. While the deletion request is in process, the delivery stream is in the DELETING state.
To check the state of a delivery stream, use DescribeDeliveryStream .
While the delivery stream is DELETING state, the service may continue to accept the records, but the service doesn't make any guarantees with respect to delivering the data. Therefore, as a best practice, you should first stop any applications that are sending records before deleting a delivery stream.
Creating a Request
Arguments
| :: Text | |
| -> DeleteDeliveryStream |
Creates a value of DeleteDeliveryStream with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dDeliveryStreamName- The name of the delivery stream.
data DeleteDeliveryStream Source #
Contains the parameters for DeleteDeliveryStream .
See: deleteDeliveryStream smart constructor.
Instances
Request Lenses
dDeliveryStreamName :: Lens' DeleteDeliveryStream Text Source #
The name of the delivery stream.
Destructuring the Response
deleteDeliveryStreamResponse Source #
Arguments
| :: Int | |
| -> DeleteDeliveryStreamResponse |
Creates a value of DeleteDeliveryStreamResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsResponseStatus- -- | The response status code.
data DeleteDeliveryStreamResponse Source #
Contains the output of DeleteDeliveryStream .
See: deleteDeliveryStreamResponse smart constructor.
Instances
Response Lenses
drsResponseStatus :: Lens' DeleteDeliveryStreamResponse Int Source #
- - | The response status code.