Module Awso_s3.EventSource

Sourcetype s3_event_notification_event_name = [
  1. | `Object_created of [ `Star | `Put | `Post | `Copy | `Complete_multipart_upload ]
  2. | `Object_removed of [ `Star | `Delete | `Delete_marker_created ]
  3. | `Reduced_redundancy_lost_object
  4. | `Unknown of string
]
Sourceval yojson_of_s3_event_notification_event_name : s3_event_notification_event_name -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype inet_addr = string
Sourceval yojson_of_inet_addr : inet_addr -> Yojson.Safe.t
Sourcetype request_parameters_entity = {
  1. source_ip_address : inet_addr;
}
Sourceval yojson_of_request_parameters_entity : request_parameters_entity -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype response_elements_entity = {
  1. x_amz_id_2 : string;
  2. x_amz_request_id : string;
}
Sourceval yojson_of_response_elements_entity : response_elements_entity -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype user_identity_entity = {
  1. principal_id : string;
}
Sourceval yojson_of_user_identity_entity : user_identity_entity -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype s3_bucket_entity = {
  1. name : string;
  2. owner_identity : user_identity_entity;
  3. arn : string;
}
Sourceval yojson_of_s3_bucket_entity : s3_bucket_entity -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype s3_object_entity = {
  1. key : string;
  2. size : int64;
  3. e_tag : string;
  4. version_id : string option;
  5. sequencer : string;
}
Sourceval yojson_of_s3_object_entity : s3_object_entity -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype s3_entity = {
  1. configuration_id : string;
  2. bucket : s3_bucket_entity;
  3. object_ : s3_object_entity;
  4. s3_schema_version : string;
}
Sourcetype s3_event_notification_record = {
  1. aws_region : Awso.Region.t;
  2. event_name : s3_event_notification_event_name;
  3. event_source : string;
  4. event_time : string option;
  5. event_version : string;
  6. request_parameters : request_parameters_entity;
  7. response_elements : response_elements_entity;
  8. s3 : s3_entity;
  9. user_identity : user_identity_entity;
}
Sourceval yojson_of_s3_event_notification_record : s3_event_notification_record -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype s3_event_notification = {
  1. records : s3_event_notification_record list;
}
Sourceval yojson_of_s3_event_notification : s3_event_notification -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourcetype shape = [
  1. | `Request_parameters_entity
  2. | `Response_elements_entity
  3. | `User_identity_entity
  4. | `S3_bucket_entity
  5. | `S3_object_entity
  6. | `S3_entity
  7. | `S3_event_notification_record
  8. | `S3_event_notification
]
Sourceval of_json : Yojson.Safe.t -> [ `Ok of t | `Parse_error of string | `Unexpected_fields of shape * string list ]
Sourceval of_string : string -> [ `Ok of t | `Parse_error of string | `Unexpected_fields of shape * string list ]