Module Values.PublishResponseSource

Response for Publish action.

Sourcetype publishResult = {
  1. messageId : MessageId.t option;
    (*

    Unique identifier assigned to the published message. Length Constraint: Maximum 100 characters

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

    This response element applies only to FIFO (first-in-first-out) topics. The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for each MessageGroupId.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. publishResult : publishResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `AuthorizationErrorException of AuthorizationErrorException.t
  2. | `EndpointDisabledException of EndpointDisabledException.t
  3. | `InternalErrorException of InternalErrorException.t
  4. | `InvalidParameterException of InvalidParameterException.t
  5. | `InvalidParameterValueException of InvalidParameterValueException.t
  6. | `InvalidSecurityException of InvalidSecurityException.t
  7. | `KMSAccessDeniedException of KMSAccessDeniedException.t
  8. | `KMSDisabledException of KMSDisabledException.t
  9. | `KMSInvalidStateException of KMSInvalidStateException.t
  10. | `KMSNotFoundException of KMSNotFoundException.t
  11. | `KMSOptInRequired of KMSOptInRequired.t
  12. | `KMSThrottlingException of KMSThrottlingException.t
  13. | `NotFoundException of NotFoundException.t
  14. | `PlatformApplicationDisabledException of PlatformApplicationDisabledException.t
  15. | `ValidationException of ValidationException.t
  16. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?messageId:??? -> ?sequenceNumber:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AuthorizationErrorException of AuthorizationErrorException.t | `EndpointDisabledException of EndpointDisabledException.t | `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidSecurityException of InvalidSecurityException.t | `KMSAccessDeniedException of KMSAccessDeniedException.t | `KMSDisabledException of KMSDisabledException.t | `KMSInvalidStateException of KMSInvalidStateException.t | `KMSNotFoundException of KMSNotFoundException.t | `KMSOptInRequired of KMSOptInRequired.t | `KMSThrottlingException of KMSThrottlingException.t | `NotFoundException of NotFoundException.t | `PlatformApplicationDisabledException of PlatformApplicationDisabledException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AuthorizationErrorException of AuthorizationErrorException.t | `EndpointDisabledException of EndpointDisabledException.t | `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidSecurityException of InvalidSecurityException.t | `KMSAccessDeniedException of KMSAccessDeniedException.t | `KMSDisabledException of KMSDisabledException.t | `KMSInvalidStateException of KMSInvalidStateException.t | `KMSNotFoundException of KMSNotFoundException.t | `KMSOptInRequired of KMSOptInRequired.t | `KMSThrottlingException of KMSThrottlingException.t | `NotFoundException of NotFoundException.t | `PlatformApplicationDisabledException of PlatformApplicationDisabledException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of MessageId.t ]) 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