UpdateDataRetentionInput
public struct UpdateDataRetentionInput : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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
Swift
public let currentVersion: String
-
The retention period, in hours. The value you specify replaces the current value. The maximum value for this parameter is 87600 (ten years).
Declaration
Swift
public let dataRetentionChangeInHours: Int
-
Indicates whether you want to increase or decrease the retention period.
Declaration
Swift
public let operation: UpdateDataRetentionOperation
-
The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
Declaration
Swift
public let streamARN: String?
-
The name of the stream whose retention period you want to change.
Declaration
Swift
public let streamName: String?
-
Undocumented
Declaration
Swift
public init(currentVersion: String, dataRetentionChangeInHours: Int, operation: UpdateDataRetentionOperation, streamARN: String? = nil, streamName: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws