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 DeliveryStreamDescription = DeliveryStreamDescription' {
- failureDescription :: Maybe FailureDescription
- deliveryStreamEncryptionConfiguration :: Maybe DeliveryStreamEncryptionConfiguration
- createTimestamp :: Maybe POSIX
- source :: Maybe SourceDescription
- lastUpdateTimestamp :: Maybe POSIX
- deliveryStreamName :: Text
- deliveryStreamARN :: Text
- deliveryStreamStatus :: DeliveryStreamStatus
- deliveryStreamType :: DeliveryStreamType
- versionId :: Text
- destinations :: [DestinationDescription]
- hasMoreDestinations :: Bool
- newDeliveryStreamDescription :: Text -> Text -> DeliveryStreamStatus -> DeliveryStreamType -> Text -> Bool -> DeliveryStreamDescription
- deliveryStreamDescription_failureDescription :: Lens' DeliveryStreamDescription (Maybe FailureDescription)
- deliveryStreamDescription_deliveryStreamEncryptionConfiguration :: Lens' DeliveryStreamDescription (Maybe DeliveryStreamEncryptionConfiguration)
- deliveryStreamDescription_createTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime)
- deliveryStreamDescription_source :: Lens' DeliveryStreamDescription (Maybe SourceDescription)
- deliveryStreamDescription_lastUpdateTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime)
- deliveryStreamDescription_deliveryStreamName :: Lens' DeliveryStreamDescription Text
- deliveryStreamDescription_deliveryStreamARN :: Lens' DeliveryStreamDescription Text
- deliveryStreamDescription_deliveryStreamStatus :: Lens' DeliveryStreamDescription DeliveryStreamStatus
- deliveryStreamDescription_deliveryStreamType :: Lens' DeliveryStreamDescription DeliveryStreamType
- deliveryStreamDescription_versionId :: Lens' DeliveryStreamDescription Text
- deliveryStreamDescription_destinations :: Lens' DeliveryStreamDescription [DestinationDescription]
- deliveryStreamDescription_hasMoreDestinations :: Lens' DeliveryStreamDescription Bool
Documentation
data DeliveryStreamDescription Source #
Contains information about a delivery stream.
See: newDeliveryStreamDescription
smart constructor.
DeliveryStreamDescription' | |
|
Instances
newDeliveryStreamDescription Source #
:: Text | |
-> Text | |
-> DeliveryStreamStatus | |
-> DeliveryStreamType | |
-> Text | |
-> Bool | |
-> DeliveryStreamDescription |
Create a value of DeliveryStreamDescription
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:failureDescription:DeliveryStreamDescription'
, deliveryStreamDescription_failureDescription
- Provides details in case one of the following operations fails due to an
error related to KMS: CreateDeliveryStream, DeleteDeliveryStream,
StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
$sel:deliveryStreamEncryptionConfiguration:DeliveryStreamDescription'
, deliveryStreamDescription_deliveryStreamEncryptionConfiguration
- Indicates the server-side encryption (SSE) status for the delivery
stream.
$sel:createTimestamp:DeliveryStreamDescription'
, deliveryStreamDescription_createTimestamp
- The date and time that the delivery stream was created.
$sel:source:DeliveryStreamDescription'
, deliveryStreamDescription_source
- If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.
$sel:lastUpdateTimestamp:DeliveryStreamDescription'
, deliveryStreamDescription_lastUpdateTimestamp
- The date and time that the delivery stream was last updated.
$sel:deliveryStreamName:DeliveryStreamDescription'
, deliveryStreamDescription_deliveryStreamName
- The name of the delivery stream.
$sel:deliveryStreamARN:DeliveryStreamDescription'
, deliveryStreamDescription_deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream. For more
information, see
Amazon Resource Names (ARNs) and AWS Service Namespaces.
$sel:deliveryStreamStatus:DeliveryStreamDescription'
, deliveryStreamDescription_deliveryStreamStatus
- The status of the delivery stream. If the status of a delivery stream is
CREATING_FAILED
, this status doesn't change, and you can't invoke
CreateDeliveryStream
again on it. However, you can invoke the
DeleteDeliveryStream operation to delete it.
$sel:deliveryStreamType:DeliveryStreamDescription'
, deliveryStreamDescription_deliveryStreamType
- The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
$sel:versionId:DeliveryStreamDescription'
, deliveryStreamDescription_versionId
- Each time the destination is updated for a delivery stream, the version
ID is changed, and the current version ID is required when updating the
destination. This is so that the service knows it is applying the
changes to the correct version of the delivery stream.
$sel:destinations:DeliveryStreamDescription'
, deliveryStreamDescription_destinations
- The destinations.
$sel:hasMoreDestinations:DeliveryStreamDescription'
, deliveryStreamDescription_hasMoreDestinations
- Indicates whether there are more destinations available to list.
deliveryStreamDescription_failureDescription :: Lens' DeliveryStreamDescription (Maybe FailureDescription) Source #
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
deliveryStreamDescription_deliveryStreamEncryptionConfiguration :: Lens' DeliveryStreamDescription (Maybe DeliveryStreamEncryptionConfiguration) Source #
Indicates the server-side encryption (SSE) status for the delivery stream.
deliveryStreamDescription_createTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime) Source #
The date and time that the delivery stream was created.
deliveryStreamDescription_source :: Lens' DeliveryStreamDescription (Maybe SourceDescription) Source #
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.
deliveryStreamDescription_lastUpdateTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime) Source #
The date and time that the delivery stream was last updated.
deliveryStreamDescription_deliveryStreamName :: Lens' DeliveryStreamDescription Text Source #
The name of the delivery stream.
deliveryStreamDescription_deliveryStreamARN :: Lens' DeliveryStreamDescription Text Source #
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
deliveryStreamDescription_deliveryStreamStatus :: Lens' DeliveryStreamDescription DeliveryStreamStatus Source #
The status of the delivery stream. If the status of a delivery stream is
CREATING_FAILED
, this status doesn't change, and you can't invoke
CreateDeliveryStream
again on it. However, you can invoke the
DeleteDeliveryStream operation to delete it.
deliveryStreamDescription_deliveryStreamType :: Lens' DeliveryStreamDescription DeliveryStreamType Source #
The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
deliveryStreamDescription_versionId :: Lens' DeliveryStreamDescription Text Source #
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
deliveryStreamDescription_destinations :: Lens' DeliveryStreamDescription [DestinationDescription] Source #
The destinations.
deliveryStreamDescription_hasMoreDestinations :: Lens' DeliveryStreamDescription Bool Source #
Indicates whether there are more destinations available to list.