| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Support.Types.CaseDetails
Description
Synopsis
- data CaseDetails = CaseDetails' {
- caseId :: Maybe Text
- categoryCode :: Maybe Text
- ccEmailAddresses :: Maybe [Text]
- displayId :: Maybe Text
- language :: Maybe Text
- recentCommunications :: Maybe RecentCaseCommunications
- serviceCode :: Maybe Text
- severityCode :: Maybe Text
- status :: Maybe Text
- subject :: Maybe Text
- submittedBy :: Maybe Text
- timeCreated :: Maybe Text
- newCaseDetails :: CaseDetails
- caseDetails_caseId :: Lens' CaseDetails (Maybe Text)
- caseDetails_categoryCode :: Lens' CaseDetails (Maybe Text)
- caseDetails_ccEmailAddresses :: Lens' CaseDetails (Maybe [Text])
- caseDetails_displayId :: Lens' CaseDetails (Maybe Text)
- caseDetails_language :: Lens' CaseDetails (Maybe Text)
- caseDetails_recentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications)
- caseDetails_serviceCode :: Lens' CaseDetails (Maybe Text)
- caseDetails_severityCode :: Lens' CaseDetails (Maybe Text)
- caseDetails_status :: Lens' CaseDetails (Maybe Text)
- caseDetails_subject :: Lens' CaseDetails (Maybe Text)
- caseDetails_submittedBy :: Lens' CaseDetails (Maybe Text)
- caseDetails_timeCreated :: Lens' CaseDetails (Maybe Text)
Documentation
data CaseDetails Source #
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 to DescribeServices. - displayId - The identifier for the case on pages in the Amazon Web Services Support Center.
- language - The language in which Amazon Web Services Support
handles the case. Amazon Web Services Support currently supports
English ("en") and Japanese ("ja"). You must specify the ISO
639-1 code for the
languageparameter if you want support in that language. - nextToken - A resumption point for pagination.
- recentCommunications - One or more Communication objects. Fields
of these objects are
attachments,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.
See: newCaseDetails smart constructor.
Constructors
| CaseDetails' | |
Fields
| |
Instances
newCaseDetails :: CaseDetails Source #
Create a value of CaseDetails with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:caseId:CaseDetails', caseDetails_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
$sel:categoryCode:CaseDetails', caseDetails_categoryCode - The category of problem for the support case.
$sel:ccEmailAddresses:CaseDetails', caseDetails_ccEmailAddresses - The email addresses that receive copies of communication about the case.
$sel:displayId:CaseDetails', caseDetails_displayId - The ID displayed for the case in the Amazon Web Services Support Center.
This is a numeric string.
$sel:language:CaseDetails', caseDetails_language - The language in which Amazon Web Services Support handles the case.
Amazon Web Services Support currently supports English ("en") and
Japanese ("ja"). You must specify the ISO 639-1 code for the
language parameter if you want support in that language.
$sel:recentCommunications:CaseDetails', caseDetails_recentCommunications - 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.
$sel:serviceCode:CaseDetails', caseDetails_serviceCode - The code for the Amazon Web Services service. You can get a list of
codes and the corresponding service names by calling DescribeServices.
$sel:severityCode:CaseDetails', caseDetails_severityCode - The code for the severity level returned by the call to
DescribeSeverityLevels.
$sel:status:CaseDetails', caseDetails_status - The status of the case.
Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
$sel:subject:CaseDetails', caseDetails_subject - The subject line for the case in the Amazon Web Services Support Center.
$sel:submittedBy:CaseDetails', caseDetails_submittedBy - The email address of the account that submitted the case.
$sel:timeCreated:CaseDetails', caseDetails_timeCreated - The time that the case was created in the Amazon Web Services Support
Center.
caseDetails_caseId :: Lens' CaseDetails (Maybe Text) Source #
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
caseDetails_categoryCode :: Lens' CaseDetails (Maybe Text) Source #
The category of problem for the support case.
caseDetails_ccEmailAddresses :: Lens' CaseDetails (Maybe [Text]) Source #
The email addresses that receive copies of communication about the case.
caseDetails_displayId :: Lens' CaseDetails (Maybe Text) Source #
The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
caseDetails_language :: Lens' CaseDetails (Maybe Text) Source #
The language in which Amazon Web Services Support handles the case.
Amazon Web Services Support currently supports English ("en") and
Japanese ("ja"). You must specify the ISO 639-1 code for the
language parameter if you want support in that language.
caseDetails_recentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications) Source #
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.
caseDetails_serviceCode :: Lens' CaseDetails (Maybe Text) Source #
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.
caseDetails_severityCode :: Lens' CaseDetails (Maybe Text) Source #
The code for the severity level returned by the call to DescribeSeverityLevels.
caseDetails_status :: Lens' CaseDetails (Maybe Text) Source #
The status of the case.
Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
caseDetails_subject :: Lens' CaseDetails (Maybe Text) Source #
The subject line for the case in the Amazon Web Services Support Center.
caseDetails_submittedBy :: Lens' CaseDetails (Maybe Text) Source #
The email address of the account that submitted the case.
caseDetails_timeCreated :: Lens' CaseDetails (Maybe Text) Source #
The time that the case was created in the Amazon Web Services Support Center.