StartOutboundVoiceContactRequest

public struct StartOutboundVoiceContactRequest : 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. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned. If the contact is disconnected, a new contact is started.

    Declaration

    Swift

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

    Declaration

    Swift

    public let contactFlowId: String
  • The phone number of the customer, in E.164 format.

    Declaration

    Swift

    public let destinationPhoneNumber: String
  • The identifier of the Amazon Connect instance.

    Declaration

    Swift

    public let instanceId: String
  • The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.

    Declaration

    Swift

    public let queueId: String?
  • The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.

    Declaration

    Swift

    public let sourcePhoneNumber: String?
  • Undocumented

    Declaration

    Swift

    public init(attributes: [String : String]? = nil, clientToken: String? = StartOutboundVoiceContactRequest.idempotencyToken(), contactFlowId: String, destinationPhoneNumber: String, instanceId: String, queueId: String? = nil, sourcePhoneNumber: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws