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

Description

Increases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 168 hours (7 days).

If you choose a longer stream retention period, this operation increases the time period during which records that have not yet expired are accessible. However, it does not make previous, expired data (older than the stream's previous retention period) accessible after the operation has been called. For example, if a stream's retention period is set to 24 hours and is increased to 168 hours, any data that is older than 24 hours remains inaccessible to consumer applications.

Synopsis

Creating a Request

data IncreaseStreamRetentionPeriod Source #

Represents the input for IncreaseStreamRetentionPeriod.

See: newIncreaseStreamRetentionPeriod smart constructor.

Constructors

IncreaseStreamRetentionPeriod' 

Fields

Instances

Instances details
Eq IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Read IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Show IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Generic IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Associated Types

type Rep IncreaseStreamRetentionPeriod :: Type -> Type #

NFData IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Hashable IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

ToJSON IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

AWSRequest IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

ToHeaders IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

ToPath IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

ToQuery IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

type Rep IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

type Rep IncreaseStreamRetentionPeriod = D1 ('MetaData "IncreaseStreamRetentionPeriod" "Amazonka.Kinesis.IncreaseStreamRetentionPeriod" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "IncreaseStreamRetentionPeriod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "retentionPeriodHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))
type AWSResponse IncreaseStreamRetentionPeriod Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

newIncreaseStreamRetentionPeriod Source #

Create a value of IncreaseStreamRetentionPeriod 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:streamName:IncreaseStreamRetentionPeriod', increaseStreamRetentionPeriod_streamName - The name of the stream to modify.

$sel:retentionPeriodHours:IncreaseStreamRetentionPeriod', increaseStreamRetentionPeriod_retentionPeriodHours - The new retention period of the stream, in hours. Must be more than the current retention period.

Request Lenses

increaseStreamRetentionPeriod_retentionPeriodHours :: Lens' IncreaseStreamRetentionPeriod Int Source #

The new retention period of the stream, in hours. Must be more than the current retention period.

Destructuring the Response

data IncreaseStreamRetentionPeriodResponse Source #

Instances

Instances details
Eq IncreaseStreamRetentionPeriodResponse Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Read IncreaseStreamRetentionPeriodResponse Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Show IncreaseStreamRetentionPeriodResponse Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

Generic IncreaseStreamRetentionPeriodResponse Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

NFData IncreaseStreamRetentionPeriodResponse Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

type Rep IncreaseStreamRetentionPeriodResponse Source # 
Instance details

Defined in Amazonka.Kinesis.IncreaseStreamRetentionPeriod

type Rep IncreaseStreamRetentionPeriodResponse = D1 ('MetaData "IncreaseStreamRetentionPeriodResponse" "Amazonka.Kinesis.IncreaseStreamRetentionPeriod" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "IncreaseStreamRetentionPeriodResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newIncreaseStreamRetentionPeriodResponse :: IncreaseStreamRetentionPeriodResponse Source #

Create a value of IncreaseStreamRetentionPeriodResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.