AWS SDK for .NET Documentation
DeleteStreamRequest Class
AmazonAmazon.Kinesis.ModelDeleteStreamRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DeleteStream operation.

This operation deletes a stream and all of its shards and data. You must shut down any applications that are operating on the stream before you delete the stream. If an application attempts to operate on a deleted stream, it will receive the exception ResourceNotFoundException .

If the stream is in the ACTIVE state, you can delete it. After a DeleteStream request, the specified stream is in the DELETING state until Amazon Kinesis completes the deletion.

Note: Amazon Kinesis might continue to accept data read and write operations, such as PutRecord and GetRecords, on a stream in the DELETING state until the stream deletion is complete.

When you delete a stream, any shards in that stream are also deleted.

You can use the DescribeStream operation to check the state of the stream, which is returned in StreamStatus .

DeleteStream has a limit of 5 transactions per second per account.

Declaration Syntax
C#
public class DeleteStreamRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DeleteStreamRequest()()()()
Initializes a new instance of the DeleteStreamRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
StreamName
The name of the stream to delete.

Constraints:

Length
1 - 128
Pattern
[a-zA-Z0-9_.-]+


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithStreamName(String) Obsolete.
Sets the StreamName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DeleteStreamRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)