Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StreamDescriptionSummary = StreamDescriptionSummary' {}
- newStreamDescriptionSummary :: Text -> Text -> StreamStatus -> Int -> UTCTime -> Natural -> StreamDescriptionSummary
- streamDescriptionSummary_encryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType)
- streamDescriptionSummary_keyId :: Lens' StreamDescriptionSummary (Maybe Text)
- streamDescriptionSummary_consumerCount :: Lens' StreamDescriptionSummary (Maybe Natural)
- streamDescriptionSummary_streamName :: Lens' StreamDescriptionSummary Text
- streamDescriptionSummary_streamARN :: Lens' StreamDescriptionSummary Text
- streamDescriptionSummary_streamStatus :: Lens' StreamDescriptionSummary StreamStatus
- streamDescriptionSummary_retentionPeriodHours :: Lens' StreamDescriptionSummary Int
- streamDescriptionSummary_streamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime
- streamDescriptionSummary_enhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics]
- streamDescriptionSummary_openShardCount :: Lens' StreamDescriptionSummary Natural
Documentation
data StreamDescriptionSummary Source #
Represents the output for DescribeStreamSummary
See: newStreamDescriptionSummary
smart constructor.
StreamDescriptionSummary' | |
|
Instances
newStreamDescriptionSummary Source #
:: Text | |
-> Text | |
-> StreamStatus | |
-> Int | |
-> UTCTime | |
-> Natural | |
-> StreamDescriptionSummary |
Create a value of StreamDescriptionSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:encryptionType:StreamDescriptionSummary'
, streamDescriptionSummary_encryptionType
- The encryption type used. This value is one of the following:
KMS
NONE
$sel:keyId:StreamDescriptionSummary'
, streamDescriptionSummary_keyId
- 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
$sel:consumerCount:StreamDescriptionSummary'
, streamDescriptionSummary_consumerCount
- The number of enhanced fan-out consumers registered with the stream.
$sel:streamName:StreamDescriptionSummary'
, streamDescriptionSummary_streamName
- The name of the stream being described.
$sel:streamARN:StreamDescriptionSummary'
, streamDescriptionSummary_streamARN
- The Amazon Resource Name (ARN) for the stream being described.
$sel:streamStatus:StreamDescriptionSummary'
, streamDescriptionSummary_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 setsStreamStatus
toCREATING
.DELETING
- The stream is being deleted. The specified stream is in theDELETING
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 anACTIVE
stream.UPDATING
- Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in theUPDATING
state.
$sel:retentionPeriodHours:StreamDescriptionSummary'
, streamDescriptionSummary_retentionPeriodHours
- The current retention period, in hours.
$sel:streamCreationTimestamp:StreamDescriptionSummary'
, streamDescriptionSummary_streamCreationTimestamp
- The approximate time that the stream was created.
$sel:enhancedMonitoring:StreamDescriptionSummary'
, streamDescriptionSummary_enhancedMonitoring
- Represents the current enhanced monitoring settings of the stream.
$sel:openShardCount:StreamDescriptionSummary'
, streamDescriptionSummary_openShardCount
- The number of open shards in the stream.
streamDescriptionSummary_encryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType) Source #
The encryption type used. This value is one of the following:
KMS
NONE
streamDescriptionSummary_keyId :: Lens' StreamDescriptionSummary (Maybe Text) Source #
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
streamDescriptionSummary_consumerCount :: Lens' StreamDescriptionSummary (Maybe Natural) Source #
The number of enhanced fan-out consumers registered with the stream.
streamDescriptionSummary_streamName :: Lens' StreamDescriptionSummary Text Source #
The name of the stream being described.
streamDescriptionSummary_streamARN :: Lens' StreamDescriptionSummary Text Source #
The Amazon Resource Name (ARN) for the stream being described.
streamDescriptionSummary_streamStatus :: Lens' StreamDescriptionSummary StreamStatus Source #
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 setsStreamStatus
toCREATING
.DELETING
- The stream is being deleted. The specified stream is in theDELETING
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 anACTIVE
stream.UPDATING
- Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in theUPDATING
state.
streamDescriptionSummary_retentionPeriodHours :: Lens' StreamDescriptionSummary Int Source #
The current retention period, in hours.
streamDescriptionSummary_streamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime Source #
The approximate time that the stream was created.
streamDescriptionSummary_enhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics] Source #
Represents the current enhanced monitoring settings of the stream.
streamDescriptionSummary_openShardCount :: Lens' StreamDescriptionSummary Natural Source #
The number of open shards in the stream.