AWSKinesisVideoUpdateDataRetentionInput

Objective-C

@interface AWSKinesisVideoUpdateDataRetentionInput

Swift

class AWSKinesisVideoUpdateDataRetentionInput
  • The version of the stream whose retention period you want to change. To get the version, call either the DescribeStream or the ListStreams API.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable currentVersion;

    Swift

    var currentVersion: String? { get set }
  • The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the operation.

    The minimum value for data retention is 0 and the maximum value is 87600 (ten years).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dataRetentionChangeInHours;

    Swift

    var dataRetentionChangeInHours: NSNumber? { get set }
  • Indicates whether you want to increase or decrease the retention period.

    Declaration

    Objective-C

    @property (nonatomic) AWSKinesisVideoUpdateDataRetentionOperation operation;

    Swift

    var operation: AWSKinesisVideoUpdateDataRetentionOperation { get set }
  • The Amazon Resource Name (ARN) of the stream whose retention period you want to change.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable streamARN;

    Swift

    var streamARN: String? { get set }
  • The name of the stream whose retention period you want to change.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable streamName;

    Swift

    var streamName: String? { get set }