Module Values.PhoneNumberSource

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice Connector.

Sourcetype nonrec t = {
  1. phoneNumberId : String_.t option;
    (*

    The phone number ID.

    *)
  2. e164PhoneNumber : E164PhoneNumber.t option;
    (*

    The phone number, in E.164 format.

    *)
  3. country : Alpha2CountryCode.t option;
    (*

    The phone number country. Format: ISO 3166-1 alpha-2.

    *)
  4. type_ : PhoneNumberType.t option;
    (*

    The phone number type.

    *)
  5. productType : PhoneNumberProductType.t option;
    (*

    The phone number product type.

    *)
  6. status : PhoneNumberStatus.t option;
    (*

    The phone number status.

    *)
  7. capabilities : PhoneNumberCapabilities.t option;
    (*

    The phone number capabilities.

    *)
  8. associations : PhoneNumberAssociationList.t option;
    (*

    The phone number associations.

    *)
  9. callingName : CallingName.t option;
    (*

    The outbound calling name associated with the phone number.

    *)
  10. callingNameStatus : CallingNameStatus.t option;
    (*

    The outbound calling name status.

    *)
  11. createdTimestamp : Iso8601Timestamp.t option;
    (*

    The phone number creation timestamp, in ISO 8601 format.

    *)
  12. updatedTimestamp : Iso8601Timestamp.t option;
    (*

    The updated phone number timestamp, in ISO 8601 format.

    *)
  13. deletionTimestamp : Iso8601Timestamp.t option;
    (*

    The deleted phone number timestamp, in ISO 8601 format.

    *)
}
Sourceval make : ?phoneNumberId:??? -> ?e164PhoneNumber:??? -> ?country:??? -> ?type_:??? -> ?productType:??? -> ?status:??? -> ?capabilities:??? -> ?associations:??? -> ?callingName:??? -> ?callingNameStatus:??? -> ?createdTimestamp:??? -> ?updatedTimestamp:??? -> ?deletionTimestamp:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t | `Timestamp of Iso8601Timestamp.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of NullableBoolean.t ]) list | `Timestamp of Iso8601Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t