StartChatContactRequest

public struct StartChatContactRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes. There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

    Declaration

    Swift

    public let attributes: [String : String]?
  • A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    Declaration

    Swift

    public let clientToken: String?
  • The identifier of the contact flow for the chat.

    Declaration

    Swift

    public let contactFlowId: String
  • The initial message to be sent to the newly created chat.

    Declaration

    Swift

    public let initialMessage: ChatMessage?
  • The identifier of the Amazon Connect instance.

    Declaration

    Swift

    public let instanceId: String
  • Information identifying the participant.

    Declaration

    Swift

    public let participantDetails: ParticipantDetails
  • Undocumented

    Declaration

    Swift

    public init(attributes: [String : String]? = nil, clientToken: String? = StartChatContactRequest.idempotencyToken(), contactFlowId: String, initialMessage: ChatMessage? = nil, instanceId: String, participantDetails: ParticipantDetails)
  • Declaration

    Swift

    public func validate(name: String) throws