Copyright | (c) 2013-2015 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 |
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.
See: AWS API Reference for DeleteDeliveryStream.
Creating a Request
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:
data DeleteDeliveryStream Source
Contains the parameters for DeleteDeliveryStream.
See: deleteDeliveryStream
smart constructor.
Request Lenses
dDeliveryStreamName :: Lens' DeleteDeliveryStream Text Source
The name of the delivery stream.
Destructuring the Response
deleteDeliveryStreamResponse Source
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:
data DeleteDeliveryStreamResponse Source
Contains the output of DeleteDeliveryStream.
See: deleteDeliveryStreamResponse
smart constructor.
Response Lenses
drsResponseStatus :: Lens' DeleteDeliveryStreamResponse Int Source
The response status code.