// Decreases 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 minimum
// value of a stream's retention period is 24 hours. This operation may result in
// lost data. For example, if the stream's retention period is 48 hours and is
// decreased to 24 hours, any data already in the stream that is older than 24
// hours is inaccessible.
Decreases 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 minimum
value of a stream's retention period is 24 hours. This operation may result in
lost data. For example, if the stream's retention period is 48 hours and is
decreased to 24 hours, any data already in the stream that is older than 24
hours is inaccessible.
// Decreases 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 minimum // value of a stream ' s retention period is 24 hours . This operation may result in // lost data . For example if the stream ' s retention period is 48 hours and is // decreased to 24 hours any data already in the stream that is older than 24 // hours is inaccessible .
func (c *Client) DecreaseStreamRetentionPeriod(ctx context.Context, params *DecreaseStreamRetentionPeriodInput, optFns ...func(*Options)) (*DecreaseStreamRetentionPeriodOutput, error) {
	if params == nil {
		params = &DecreaseStreamRetentionPeriodInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DecreaseStreamRetentionPeriod", params, optFns, addOperationDecreaseStreamRetentionPeriodMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DecreaseStreamRetentionPeriodOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DecreaseStreamRetentionPeriod ( ctx context . Context , params * DecreaseStreamRetentionPeriodInput , optFns ... func ( * Options ) ) ( * DecreaseStreamRetentionPeriodOutput , error ) { if params == nil { params = & DecreaseStreamRetentionPeriodInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDecreaseStreamRetentionPeriodMiddlewares ) if err != nil { return nil , err } out := result . ( * DecreaseStreamRetentionPeriodOutput ) out . ResultMetadata = metadata return out , nil }
Decreases the Kinesis data stream's retention period, which is the length of
time data records are accessible after they are added to the stream.
Decreases the Kinesis data stream ' s retention period which is the length of time data records are accessible after they are added to the stream .