Module Values.GetEndpointAttributesResponseSource

Response from GetEndpointAttributes of the EndpointArn.

Sourcetype getEndpointAttributesResult = {
  1. attributes : MapStringToString.t option;
    (*

    Attributes include the following: CustomUserData – arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. Enabled – flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token. Token – device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service. The device token for the iOS platform is returned in lowercase.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getEndpointAttributesResult : getEndpointAttributesResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `AuthorizationErrorException of AuthorizationErrorException.t
  2. | `InternalErrorException of InternalErrorException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?attributes:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AuthorizationErrorException of AuthorizationErrorException.t | `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AuthorizationErrorException of AuthorizationErrorException.t | `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list ]) list ]) 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