Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Adds additional customer communication to an AWS Support case. You use the caseId
value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the ccEmailAddresses
value. The communicationBody
value contains the text of the communication.
The response indicates the success or failure of the request.
This operation implements a subset of the features of the AWS Support Center.
- addCommunicationToCase :: Text -> AddCommunicationToCase
- data AddCommunicationToCase
- actcCaseId :: Lens' AddCommunicationToCase (Maybe Text)
- actcCcEmailAddresses :: Lens' AddCommunicationToCase [Text]
- actcAttachmentSetId :: Lens' AddCommunicationToCase (Maybe Text)
- actcCommunicationBody :: Lens' AddCommunicationToCase Text
- addCommunicationToCaseResponse :: Int -> AddCommunicationToCaseResponse
- data AddCommunicationToCaseResponse
- actcrsResult :: Lens' AddCommunicationToCaseResponse (Maybe Bool)
- actcrsResponseStatus :: Lens' AddCommunicationToCaseResponse Int
Creating a Request
addCommunicationToCase Source #
Creates a value of AddCommunicationToCase
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
actcCaseId
- The AWS 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-c4c1d2bf33c5cf47actcCcEmailAddresses
- The email addresses in the CC line of an email to be added to the support case.actcAttachmentSetId
- The ID of a set of one or more attachments for the communication to add to the case. Create the set by callingAddAttachmentsToSet
actcCommunicationBody
- The body of an email communication to add to the support case.
data AddCommunicationToCase Source #
To be written.
See: addCommunicationToCase
smart constructor.
Request Lenses
actcCaseId :: Lens' AddCommunicationToCase (Maybe Text) Source #
The AWS 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
actcCcEmailAddresses :: Lens' AddCommunicationToCase [Text] Source #
The email addresses in the CC line of an email to be added to the support case.
actcAttachmentSetId :: Lens' AddCommunicationToCase (Maybe Text) Source #
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
actcCommunicationBody :: Lens' AddCommunicationToCase Text Source #
The body of an email communication to add to the support case.
Destructuring the Response
addCommunicationToCaseResponse Source #
Creates a value of AddCommunicationToCaseResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
actcrsResult
- True ifAddCommunicationToCase
succeeds. Otherwise, returns an error.actcrsResponseStatus
- -- | The response status code.
data AddCommunicationToCaseResponse Source #
The result of the AddCommunicationToCase
operation.
See: addCommunicationToCaseResponse
smart constructor.
Response Lenses
actcrsResult :: Lens' AddCommunicationToCaseResponse (Maybe Bool) Source #
True if AddCommunicationToCase
succeeds. Otherwise, returns an error.
actcrsResponseStatus :: Lens' AddCommunicationToCaseResponse Int Source #
- - | The response status code.