Module Values.CreateAddressResultSource

Creates an address for a Snow device to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown. If providing an address as a JSON file through the cli-input-json option, include the full file path. For example, --cli-input-json file://create-address.json.

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

    The automatically generated ID for a specific address. You'll use this ID when you create a job to specify which address you want the Snow device for that job shipped to.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidAddressException of InvalidAddressException.t
  2. | `UnsupportedAddressException of UnsupportedAddressException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?addressId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidAddressException of InvalidAddressException.t | `Unknown_operation_error of string * string option | `UnsupportedAddressException of UnsupportedAddressException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidAddressException of InvalidAddressException.t | `Unknown_operation_error of string * string option | `UnsupportedAddressException of UnsupportedAddressException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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