ListOutput

public struct ListOutput<T>
extension ListOutput: Equatable where T: Equatable

Generic Type to wrap around an Output SudoEmail type from a List result.

This is useful for pagination requests and can use its nextToken to call the next paginated results.

Properties

  • Items returned by a List query output.

    Declaration

    Swift

    public let items: [T]
  • Next token to call next page of paginated results.

    Declaration

    Swift

    public let nextToken: String?

Lifecycle

  • Initialize an instance of ListOutput.

    Declaration

    Swift

    public init(items: [T], nextToken: String? = nil)