pub struct MessageAttempt<'a> { /* private fields */ }
Implementations§
Source§impl<'a> MessageAttempt<'a>
impl<'a> MessageAttempt<'a>
Sourcepub async fn list_by_msg(
&self,
app_id: String,
msg_id: String,
options: Option<MessageAttemptListOptions>,
) -> Result<ListResponseMessageAttemptOut>
pub async fn list_by_msg( &self, app_id: String, msg_id: String, options: Option<MessageAttemptListOptions>, ) -> Result<ListResponseMessageAttemptOut>
List attempts by message id
Note that by default this endpoint is limited to retrieving 90 days’
worth of data relative to now or, if an iterator is provided, 90
days before/after the time indicated by the iterator ID. If you
require data beyond those time ranges, you will need to explicitly
set the before
or after
parameter as appropriate.
Sourcepub async fn list_by_endpoint(
&self,
app_id: String,
endpoint_id: String,
options: Option<MessageAttemptListByEndpointOptions>,
) -> Result<ListResponseMessageAttemptOut>
pub async fn list_by_endpoint( &self, app_id: String, endpoint_id: String, options: Option<MessageAttemptListByEndpointOptions>, ) -> Result<ListResponseMessageAttemptOut>
List attempts by endpoint id
Note that by default this endpoint is limited to retrieving 90 days’
worth of data relative to now or, if an iterator is provided, 90
days before/after the time indicated by the iterator ID. If you
require data beyond those time ranges, you will need to explicitly
set the before
or after
parameter as appropriate.
Sourcepub async fn list_attempted_messages(
&self,
app_id: String,
endpoint_id: String,
options: Option<MessageAttemptListOptions>,
) -> Result<ListResponseEndpointMessageOut>
pub async fn list_attempted_messages( &self, app_id: String, endpoint_id: String, options: Option<MessageAttemptListOptions>, ) -> Result<ListResponseEndpointMessageOut>
List messages for a particular endpoint. Additionally includes metadata about the latest message attempt.
The before
parameter lets you filter all items created before a
certain date and is ignored if an iterator is passed.
Note that by default this endpoint is limited to retrieving 90 days’
worth of data relative to now or, if an iterator is provided, 90
days before/after the time indicated by the iterator ID. If you
require data beyond those time ranges, you will need to explicitly
set the before
or after
parameter as appropriate.
Sourcepub async fn list_attempted_destinations(
&self,
app_id: String,
msg_id: String,
options: Option<ListOptions>,
) -> Result<ListResponseMessageEndpointOut>
pub async fn list_attempted_destinations( &self, app_id: String, msg_id: String, options: Option<ListOptions>, ) -> Result<ListResponseMessageEndpointOut>
List endpoints attempted by a given message. Additionally includes metadata about the latest message attempt. By default, endpoints are listed in ascending order by ID.
pub async fn list_attempts_for_endpoint( &self, app_id: String, msg_id: String, endpoint_id: String, options: Option<MessageAttemptListOptions>, ) -> Result<ListResponseMessageAttemptEndpointOut>
Sourcepub async fn get(
&self,
app_id: String,
msg_id: String,
attempt_id: String,
) -> Result<MessageAttemptOut>
pub async fn get( &self, app_id: String, msg_id: String, attempt_id: String, ) -> Result<MessageAttemptOut>
msg_id
: Use a message id or a message eventId