StartSelector

public struct StartSelector : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Specifies the fragment number from where you want the GetMedia API to start returning the fragments.

    Declaration

    Swift

    public let afterFragmentNumber: String?
  • Continuation token that Kinesis Video Streams returned in the previous GetMedia response. The GetMedia API then starts with the chunk identified by the continuation token.

    Declaration

    Swift

    public let continuationToken: String?
  • Identifies the fragment on the Kinesis video stream where you want to start getting the data from. NOW - Start with the latest chunk on the stream. EARLIEST - Start with earliest available chunk on the stream. FRAGMENT_NUMBER - Start with the chunk after a specific fragment. You must also specify the AfterFragmentNumber parameter. PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified producer or server timestamp. You specify the timestamp by adding StartTimestamp. CONTINUATION_TOKEN - Read using the specified continuation token. If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as the startSelectorType, you don’t provide any additional information in the startSelector.

    Declaration

    Swift

    public let startSelectorType: StartSelectorType
  • A timestamp value. This value is required if you choose the PRODUCER_TIMESTAMP or the SERVER_TIMESTAMP as the startSelectorType. The GetMedia API then starts with the chunk containing the fragment that has the specified timestamp.

    Declaration

    Swift

    public let startTimestamp: TimeStamp?
  • Undocumented

    Declaration

    Swift

    public init(afterFragmentNumber: String? = nil, continuationToken: String? = nil, startSelectorType: StartSelectorType, startTimestamp: TimeStamp? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws