SortingConfiguration

public struct SortingConfiguration : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the document attribute used to sort the response. You can use any field that has the Sortable flag set to true. You can also sort by any of the following built-in attributes: _category _created_at _last_updated_at _version _view_count

    Declaration

    Swift

    public let documentAttributeKey: String
  • The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.

    Declaration

    Swift

    public let sortOrder: SortOrder
  • Undocumented

    Declaration

    Swift

    public init(documentAttributeKey: String, sortOrder: SortOrder)
  • Declaration

    Swift

    public func validate(name: String) throws