Struct aws_sdk_support::model::CaseDetails
source · [−]#[non_exhaustive]pub struct CaseDetails {
pub case_id: Option<String>,
pub display_id: Option<String>,
pub subject: Option<String>,
pub status: Option<String>,
pub service_code: Option<String>,
pub category_code: Option<String>,
pub severity_code: Option<String>,
pub submitted_by: Option<String>,
pub time_created: Option<String>,
pub recent_communications: Option<RecentCaseCommunications>,
pub cc_email_addresses: Option<Vec<String>>,
pub language: Option<String>,
}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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.case_id: Option<String>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
display_id: Option<String>The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
subject: Option<String>The subject line for the case in the Amazon Web Services Support Center.
status: Option<String>The status of the case.
Valid values:
-
opened -
pending-customer-action -
reopened -
resolved -
unassigned -
work-in-progress
service_code: Option<String>The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.
category_code: Option<String>The category of problem for the support case.
severity_code: Option<String>The code for the severity level returned by the call to DescribeSeverityLevels.
submitted_by: Option<String>The email address of the account that submitted the case.
time_created: Option<String>The time that the case was created in the Amazon Web Services Support Center.
recent_communications: 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.
cc_email_addresses: Option<Vec<String>>The email addresses that receive copies of communication about the case.
language: Option<String>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.
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.
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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CaseDetails
impl Debug for CaseDetails
sourceimpl PartialEq<CaseDetails> for CaseDetails
impl PartialEq<CaseDetails> for CaseDetails
sourcefn eq(&self, other: &CaseDetails) -> bool
fn eq(&self, other: &CaseDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CaseDetails) -> bool
fn ne(&self, other: &CaseDetails) -> bool
This method tests for !=.
impl StructuralPartialEq for CaseDetails
Auto Trait Implementations
impl RefUnwindSafe for CaseDetails
impl Send for CaseDetails
impl Sync for CaseDetails
impl Unpin for CaseDetails
impl UnwindSafe for CaseDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more