Struct aws_sdk_support::model::CaseDetails
source · [−]#[non_exhaustive]pub struct CaseDetails { /* private fields */ }Expand description
A JSON-formatted object that contains the metadata for a support case. It is contained in the response from a DescribeCases request. CaseDetails contains the following fields:
-
caseId - 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.
-
categoryCode - The category of problem for the support case. Corresponds to the
CategoryCodevalues returned by a call toDescribeServices. -
displayId - The identifier for the case on pages in the Amazon Web Services Support Center.
-
language - The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
-
nextToken - A resumption point for pagination.
-
recentCommunications - One or more
Communicationobjects. Fields of these objects areattachments,body,caseId,submittedBy, andtimeCreated. -
serviceCode - The identifier for the Amazon Web Services service that corresponds to the service code defined in the call to
DescribeServices. -
severityCode - The severity code assigned to the case. Contains one of the values returned by the call to
DescribeSeverityLevels. The possible values are:low,normal,high,urgent, andcritical. -
status - The status of the case in the Amazon Web Services Support Center. Valid values:
-
opened -
pending-customer-action -
reopened -
resolved -
unassigned -
work-in-progress
-
-
subject - The subject line of the case.
-
submittedBy - The email address of the account that submitted the case.
-
timeCreated - The time the case was created, in ISO-8601 format.
Implementations
sourceimpl CaseDetails
impl CaseDetails
sourcepub fn case_id(&self) -> Option<&str>
pub fn case_id(&self) -> Option<&str>
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
sourcepub fn display_id(&self) -> Option<&str>
pub fn display_id(&self) -> Option<&str>
The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
sourcepub fn subject(&self) -> Option<&str>
pub fn subject(&self) -> Option<&str>
The subject line for the case in the Amazon Web Services Support Center.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the case.
Valid values:
-
opened -
pending-customer-action -
reopened -
resolved -
unassigned -
work-in-progress
sourcepub fn service_code(&self) -> Option<&str>
pub fn service_code(&self) -> Option<&str>
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.
sourcepub fn category_code(&self) -> Option<&str>
pub fn category_code(&self) -> Option<&str>
The category of problem for the support case.
sourcepub fn severity_code(&self) -> Option<&str>
pub fn severity_code(&self) -> Option<&str>
The code for the severity level returned by the call to DescribeSeverityLevels.
sourcepub fn submitted_by(&self) -> Option<&str>
pub fn submitted_by(&self) -> Option<&str>
The email address of the account that submitted the case.
sourcepub fn time_created(&self) -> Option<&str>
pub fn time_created(&self) -> Option<&str>
The time that the case was created in the Amazon Web Services Support Center.
sourcepub fn recent_communications(&self) -> Option<&RecentCaseCommunications>
pub fn recent_communications(&self) -> Option<&RecentCaseCommunications>
The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications. Also includes a nextToken that you can use to retrieve earlier communications.
sourcepub fn cc_email_addresses(&self) -> Option<&[String]>
pub fn cc_email_addresses(&self) -> Option<&[String]>
The email addresses that receive copies of communication about the case.
sourceimpl CaseDetails
impl CaseDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CaseDetails.
Trait Implementations
sourceimpl Clone for CaseDetails
impl Clone for CaseDetails
sourcefn clone(&self) -> CaseDetails
fn clone(&self) -> CaseDetails
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more