Module Values.DescribeAddressesResultSource

Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.

Sourcetype nonrec t = {
  1. addresses : AddressList.t option;
    (*

    The Snow device shipping addresses that were created for this account.

    *)
  2. nextToken : String_.t option;
    (*

    HTTP requests are stateless. If you use the automatically generated NextToken value in your next DescribeAddresses call, your list of returned addresses will start from this point in the array.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidNextTokenException of InvalidNextTokenException.t
  2. | `InvalidResourceException of InvalidResourceException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?addresses:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidNextTokenException of InvalidNextTokenException.t | `InvalidResourceException of InvalidResourceException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidNextTokenException of InvalidNextTokenException.t | `InvalidResourceException of InvalidResourceException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of AddressId.t ]) list ] list | `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