amazonka-kinesis-firehose-1.3.3: Amazon Kinesis Firehose SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Firehose.DeleteDeliveryStream

Contents

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.

See: AWS API Reference for DeleteDeliveryStream.

Synopsis

Creating a Request

deleteDeliveryStream Source

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:

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:

Response Lenses