Struct aws_sdk_support::client::fluent_builders::DescribeCases [−][src]
pub struct DescribeCases<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeCases
.
Returns a list of cases that you specify by passing one or more case IDs. You can use
the afterTime
and beforeTime
parameters to filter the cases by
date. You can set values for the includeResolvedCases
and
includeCommunications
parameters to specify how much information to
return.
The response returns the following in JSON format:
-
One or more CaseDetails data types.
-
One or more
nextToken
values, which specify where to paginate the returned records represented by theCaseDetails
objects.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request might return an error.
-
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> DescribeCases<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeCases<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeCasesOutput, SdkError<DescribeCasesError>> where
R::Policy: SmithyRetryPolicy<DescribeCasesInputOperationOutputAlias, DescribeCasesOutput, DescribeCasesError, DescribeCasesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeCasesOutput, SdkError<DescribeCasesError>> where
R::Policy: SmithyRetryPolicy<DescribeCasesInputOperationOutputAlias, DescribeCasesOutput, DescribeCasesError, DescribeCasesInputOperationRetryAlias>,
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.
Appends an item to caseIdList
.
To override the contents of this collection use set_case_id_list
.
A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
The ID displayed for a case in the AWS Support Center user interface.
The ID displayed for a case in the AWS Support Center user interface.
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.
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.
Specifies whether to include resolved support cases in the DescribeCases
response. By default, resolved cases aren't included.
Specifies whether to include resolved support cases in the DescribeCases
response. By default, resolved cases aren't included.
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.
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
Specifies whether to include communications in the DescribeCases
response. By default, communications are included.
Specifies whether to include communications in the DescribeCases
response. By default, communications are included.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeCases<C, M, R>
impl<C, M, R> Unpin for DescribeCases<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeCases<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