Struct aws_sdk_personalize::client::fluent_builders::ListCampaigns [−][src]
pub struct ListCampaigns<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ListCampaigns.
Returns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see CreateCampaign.
Implementations
impl<C, M, R> ListCampaigns<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListCampaigns<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListCampaignsOutput, SdkError<ListCampaignsError>> where
R::Policy: SmithyRetryPolicy<ListCampaignsInputOperationOutputAlias, ListCampaignsOutput, ListCampaignsError, ListCampaignsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListCampaignsOutput, SdkError<ListCampaignsError>> where
R::Policy: SmithyRetryPolicy<ListCampaignsInputOperationOutputAlias, ListCampaignsOutput, ListCampaignsError, ListCampaignsInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
The Amazon Resource Name (ARN) of the solution to list the campaigns for. When a solution is not specified, all the campaigns associated with the account are listed.
The Amazon Resource Name (ARN) of the solution to list the campaigns for. When a solution is not specified, all the campaigns associated with the account are listed.
A token returned from the previous call to ListCampaigns for getting the next set of campaigns (if they exist).
A token returned from the previous call to ListCampaigns for getting the next set of campaigns (if they exist).
The maximum number of campaigns to return.
The maximum number of campaigns to return.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListCampaigns<C, M, R>
impl<C, M, R> Unpin for ListCampaigns<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListCampaigns<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
