CreateContactRequest

public struct CreateContactRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A unique, user-specified identifier for this request that ensures idempotency.

    Declaration

    Swift

    public let clientRequestToken: String?
  • The name of the contact to display on the console.

    Declaration

    Swift

    public let displayName: String?
  • The first name of the contact that is used to call the contact on the device.

    Declaration

    Swift

    public let firstName: String
  • The last name of the contact that is used to call the contact on the device.

    Declaration

    Swift

    public let lastName: String?
  • The phone number of the contact in E.164 format. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

    Declaration

    Swift

    public let phoneNumber: String?
  • The list of phone numbers for the contact.

    Declaration

    Swift

    public let phoneNumbers: [PhoneNumber]?
  • The list of SIP addresses for the contact.

    Declaration

    Swift

    public let sipAddresses: [SipAddress]?
  • Undocumented

    Declaration

    Swift

    public init(clientRequestToken: String? = CreateContactRequest.idempotencyToken(), displayName: String? = nil, firstName: String, lastName: String? = nil, phoneNumber: String? = nil, phoneNumbers: [PhoneNumber]? = nil, sipAddresses: [SipAddress]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws