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

Amazonka.Kinesis.Types.StreamDescriptionSummary

Description

 
Synopsis

Documentation

data StreamDescriptionSummary Source #

Represents the output for DescribeStreamSummary

See: newStreamDescriptionSummary smart constructor.

Constructors

StreamDescriptionSummary' 

Fields

  • encryptionType :: Maybe EncryptionType

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

    • KMS
    • NONE
  • keyId :: Maybe Text

    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
  • consumerCount :: Maybe Natural

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

  • streamName :: Text

    The name of the stream being described.

  • streamARN :: Text

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

  • streamStatus :: 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.
  • retentionPeriodHours :: Int

    The current retention period, in hours.

  • streamCreationTimestamp :: POSIX

    The approximate time that the stream was created.

  • enhancedMonitoring :: [EnhancedMetrics]

    Represents the current enhanced monitoring settings of the stream.

  • openShardCount :: Natural

    The number of open shards in the stream.

Instances

Instances details
Eq StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Read StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Show StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Generic StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Associated Types

type Rep StreamDescriptionSummary :: Type -> Type #

NFData StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Hashable StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

FromJSON StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

type Rep StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

type Rep StreamDescriptionSummary = D1 ('MetaData "StreamDescriptionSummary" "Amazonka.Kinesis.Types.StreamDescriptionSummary" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "StreamDescriptionSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "consumerCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "streamStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamStatus) :*: S1 ('MetaSel ('Just "retentionPeriodHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "streamCreationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "enhancedMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EnhancedMetrics]) :*: S1 ('MetaSel ('Just "openShardCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))))

newStreamDescriptionSummary Source #

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 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.

$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_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 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.

streamDescriptionSummary_enhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics] Source #

Represents the current enhanced monitoring settings of the stream.