libZSservicesZSamazonka-supportZSamazonka-support
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Support.AddCommunicationToCase

Description

Adds additional customer communication to an AWS Support case. Use the caseId parameter to identify the case to which to add communication. You can list a set of email addresses to copy on the communication by using the ccEmailAddresses parameter. The communicationBody value contains the text of the communication.

  • 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.
Synopsis

Creating a Request

data AddCommunicationToCase Source #

See: newAddCommunicationToCase smart constructor.

Constructors

AddCommunicationToCase' 

Fields

  • caseId :: Maybe Text

    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

  • ccEmailAddresses :: Maybe [Text]

    The email addresses in the CC line of an email to be added to the support case.

  • attachmentSetId :: Maybe Text

    The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet

  • communicationBody :: Text

    The body of an email communication to add to the support case.

Instances

Instances details
Eq AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Read AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Show AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Generic AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Associated Types

type Rep AddCommunicationToCase :: Type -> Type #

NFData AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Methods

rnf :: AddCommunicationToCase -> () #

Hashable AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

ToJSON AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

AWSRequest AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Associated Types

type AWSResponse AddCommunicationToCase #

ToHeaders AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

ToPath AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

ToQuery AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

type Rep AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

type Rep AddCommunicationToCase = D1 ('MetaData "AddCommunicationToCase" "Amazonka.Support.AddCommunicationToCase" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "AddCommunicationToCase'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "caseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ccEmailAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "attachmentSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "communicationBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AddCommunicationToCase Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

newAddCommunicationToCase Source #

Create a value of AddCommunicationToCase 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:AddCommunicationToCase', addCommunicationToCase_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:ccEmailAddresses:AddCommunicationToCase', addCommunicationToCase_ccEmailAddresses - The email addresses in the CC line of an email to be added to the support case.

$sel:attachmentSetId:AddCommunicationToCase', addCommunicationToCase_attachmentSetId - The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet

$sel:communicationBody:AddCommunicationToCase', addCommunicationToCase_communicationBody - The body of an email communication to add to the support case.

Request Lenses

addCommunicationToCase_caseId :: Lens' AddCommunicationToCase (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

addCommunicationToCase_ccEmailAddresses :: Lens' AddCommunicationToCase (Maybe [Text]) Source #

The email addresses in the CC line of an email to be added to the support case.

addCommunicationToCase_attachmentSetId :: 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

addCommunicationToCase_communicationBody :: Lens' AddCommunicationToCase Text Source #

The body of an email communication to add to the support case.

Destructuring the Response

data AddCommunicationToCaseResponse Source #

The result of the AddCommunicationToCase operation.

See: newAddCommunicationToCaseResponse smart constructor.

Constructors

AddCommunicationToCaseResponse' 

Fields

Instances

Instances details
Eq AddCommunicationToCaseResponse Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Read AddCommunicationToCaseResponse Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Show AddCommunicationToCaseResponse Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Generic AddCommunicationToCaseResponse Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

Associated Types

type Rep AddCommunicationToCaseResponse :: Type -> Type #

NFData AddCommunicationToCaseResponse Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

type Rep AddCommunicationToCaseResponse Source # 
Instance details

Defined in Amazonka.Support.AddCommunicationToCase

type Rep AddCommunicationToCaseResponse = D1 ('MetaData "AddCommunicationToCaseResponse" "Amazonka.Support.AddCommunicationToCase" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "AddCommunicationToCaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddCommunicationToCaseResponse Source #

Create a value of AddCommunicationToCaseResponse 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:result:AddCommunicationToCaseResponse', addCommunicationToCaseResponse_result - True if AddCommunicationToCase succeeds. Otherwise, returns an error.

$sel:httpStatus:AddCommunicationToCaseResponse', addCommunicationToCaseResponse_httpStatus - The response's http status code.

Response Lenses

addCommunicationToCaseResponse_result :: Lens' AddCommunicationToCaseResponse (Maybe Bool) Source #

True if AddCommunicationToCase succeeds. Otherwise, returns an error.