Struct aws_sdk_personalize::client::fluent_builders::DescribeCampaign [−][src]
pub struct DescribeCampaign<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DescribeCampaign.
Describes the given campaign, including its status.
A campaign can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
When the status is CREATE FAILED, the response includes the failureReason key, which describes why.
For more information on campaigns, see CreateCampaign.
Implementations
impl<C, M, R> DescribeCampaign<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeCampaign<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeCampaignOutput, SdkError<DescribeCampaignError>> where
R::Policy: SmithyRetryPolicy<DescribeCampaignInputOperationOutputAlias, DescribeCampaignOutput, DescribeCampaignError, DescribeCampaignInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeCampaignOutput, SdkError<DescribeCampaignError>> where
R::Policy: SmithyRetryPolicy<DescribeCampaignInputOperationOutputAlias, DescribeCampaignOutput, DescribeCampaignError, DescribeCampaignInputOperationRetryAlias>,
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.
The Amazon Resource Name (ARN) of the campaign.
The Amazon Resource Name (ARN) of the campaign.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeCampaign<C, M, R>
impl<C, M, R> Send for DescribeCampaign<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeCampaign<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeCampaign<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeCampaign<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
