Struct aws_sdk_support::client::fluent_builders::DescribeCommunications [−][src]
pub struct DescribeCommunications<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeCommunications
.
Returns communications and attachments for one or more support cases. Use the
afterTime
and beforeTime
parameters to filter by date. You
can use the caseId
parameter to restrict the results to a specific
case.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.
You can use the maxResults
and nextToken
parameters to
control the pagination of the results. Set maxResults
to the number of
cases that you want to display on each page, and use nextToken
to specify
the resumption of pagination.
-
You must have a Business or Enterprise Support plan to use the AWS Support API.
-
If you call the AWS Support API from an account that does not have a Business or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see AWS Support.
Implementations
impl<C, M, R> DescribeCommunications<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeCommunications<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeCommunicationsOutput, SdkError<DescribeCommunicationsError>> where
R::Policy: SmithyRetryPolicy<DescribeCommunicationsInputOperationOutputAlias, DescribeCommunicationsOutput, DescribeCommunicationsError, DescribeCommunicationsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeCommunicationsOutput, SdkError<DescribeCommunicationsError>> where
R::Policy: SmithyRetryPolicy<DescribeCommunicationsInputOperationOutputAlias, DescribeCommunicationsOutput, DescribeCommunicationsError, DescribeCommunicationsInputOperationRetryAlias>,
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 support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
A resumption point for pagination.
A resumption point for pagination.
The maximum number of results to return before paginating.
The maximum number of results to return before paginating.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeCommunications<C, M, R>
impl<C, M, R> Send for DescribeCommunications<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeCommunications<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeCommunications<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeCommunications<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