Struct aws_sdk_kinesis::model::StreamDescriptionSummary[][src]

#[non_exhaustive]
pub struct StreamDescriptionSummary { pub stream_name: Option<String>, pub stream_arn: Option<String>, pub stream_status: Option<StreamStatus>, pub retention_period_hours: Option<i32>, pub stream_creation_timestamp: Option<Instant>, pub enhanced_monitoring: Option<Vec<EnhancedMetrics>>, pub encryption_type: Option<EncryptionType>, pub key_id: Option<String>, pub open_shard_count: Option<i32>, pub consumer_count: Option<i32>, }
Expand description

Represents the output for DescribeStreamSummary

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
stream_name: Option<String>

The name of the stream being described.

stream_arn: Option<String>

The Amazon Resource Name (ARN) for the stream being described.

stream_status: Option<StreamStatus>

The current status of the stream being described. The stream status is one of the following states:

  • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.

  • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.

  • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.

  • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.

retention_period_hours: Option<i32>

The current retention period, in hours.

stream_creation_timestamp: Option<Instant>

The approximate time that the stream was created.

enhanced_monitoring: Option<Vec<EnhancedMetrics>>

Represents the current enhanced monitoring settings of the stream.

encryption_type: Option<EncryptionType>

The encryption type used. This value is one of the following:

  • KMS

  • NONE

key_id: Option<String>

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

  • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012

  • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName

  • Globally unique key ID example: 12345678-1234-1234-1234-123456789012

  • Alias name example: alias/MyAliasName

  • Master key owned by Kinesis Data Streams: alias/aws/kinesis

open_shard_count: Option<i32>

The number of open shards in the stream.

consumer_count: Option<i32>

The number of enhanced fan-out consumers registered with the stream.

Implementations

The name of the stream being described.

The Amazon Resource Name (ARN) for the stream being described.

The current status of the stream being described. The stream status is one of the following states:

  • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.

  • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.

  • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.

  • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.

The current retention period, in hours.

The approximate time that the stream was created.

Represents the current enhanced monitoring settings of the stream.

The encryption type used. This value is one of the following:

  • KMS

  • NONE

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

  • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012

  • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName

  • Globally unique key ID example: 12345678-1234-1234-1234-123456789012

  • Alias name example: alias/MyAliasName

  • Master key owned by Kinesis Data Streams: alias/aws/kinesis

The number of open shards in the stream.

The number of enhanced fan-out consumers registered with the stream.

Creates a new builder-style object to manufacture StreamDescriptionSummary

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more