pub struct ListOfferingPromotions<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to ListOfferingPromotions.
Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you must be able to invoke this operation.
Implementations
impl<C, M, R> ListOfferingPromotions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListOfferingPromotions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListOfferingPromotionsOutput, SdkError<ListOfferingPromotionsError>> where
R::Policy: SmithyRetryPolicy<ListOfferingPromotionsInputOperationOutputAlias, ListOfferingPromotionsOutput, ListOfferingPromotionsError, ListOfferingPromotionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListOfferingPromotionsOutput, SdkError<ListOfferingPromotionsError>> where
R::Policy: SmithyRetryPolicy<ListOfferingPromotionsInputOperationOutputAlias, ListOfferingPromotionsOutput, ListOfferingPromotionsError, ListOfferingPromotionsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListOfferingPromotions<C, M, R>
impl<C, M, R> Send for ListOfferingPromotions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListOfferingPromotions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListOfferingPromotions<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListOfferingPromotions<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more