amazonka-support-1.4.5: Amazon Support SDK.

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

Network.AWS.Support.AddCommunicationToCase

Contents

Description

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.

Synopsis

Creating a Request

addCommunicationToCase #

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-c4c1d2bf33c5cf47
  • actcCcEmailAddresses - 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 calling AddAttachmentsToSet
  • actcCommunicationBody - The body of an email communication to add to the support case.

data AddCommunicationToCase #

To be written.

See: addCommunicationToCase smart constructor.

Instances

Eq AddCommunicationToCase # 
Data AddCommunicationToCase # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddCommunicationToCase -> c AddCommunicationToCase #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddCommunicationToCase #

toConstr :: AddCommunicationToCase -> Constr #

dataTypeOf :: AddCommunicationToCase -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AddCommunicationToCase) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddCommunicationToCase) #

gmapT :: (forall b. Data b => b -> b) -> AddCommunicationToCase -> AddCommunicationToCase #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddCommunicationToCase -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddCommunicationToCase -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddCommunicationToCase -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddCommunicationToCase -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddCommunicationToCase -> m AddCommunicationToCase #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddCommunicationToCase -> m AddCommunicationToCase #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddCommunicationToCase -> m AddCommunicationToCase #

Read AddCommunicationToCase # 
Show AddCommunicationToCase # 
Generic AddCommunicationToCase # 
Hashable AddCommunicationToCase # 
ToJSON AddCommunicationToCase # 
NFData AddCommunicationToCase # 

Methods

rnf :: AddCommunicationToCase -> () #

AWSRequest AddCommunicationToCase # 
ToQuery AddCommunicationToCase # 
ToPath AddCommunicationToCase # 
ToHeaders AddCommunicationToCase # 
type Rep AddCommunicationToCase # 
type Rep AddCommunicationToCase = D1 (MetaData "AddCommunicationToCase" "Network.AWS.Support.AddCommunicationToCase" "amazonka-support-1.4.5-LmQIPNTI7OzCplN8wzzWV7" False) (C1 (MetaCons "AddCommunicationToCase'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_actcCaseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_actcCcEmailAddresses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_actcAttachmentSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_actcCommunicationBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs AddCommunicationToCase # 

Request Lenses

actcCaseId :: Lens' AddCommunicationToCase (Maybe Text) #

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] #

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

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

actcCommunicationBody :: Lens' AddCommunicationToCase Text #

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

Destructuring the Response

addCommunicationToCaseResponse #

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:

data AddCommunicationToCaseResponse #

The result of the AddCommunicationToCase operation.

See: addCommunicationToCaseResponse smart constructor.

Instances

Eq AddCommunicationToCaseResponse # 
Data AddCommunicationToCaseResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddCommunicationToCaseResponse -> c AddCommunicationToCaseResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddCommunicationToCaseResponse #

toConstr :: AddCommunicationToCaseResponse -> Constr #

dataTypeOf :: AddCommunicationToCaseResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AddCommunicationToCaseResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddCommunicationToCaseResponse) #

gmapT :: (forall b. Data b => b -> b) -> AddCommunicationToCaseResponse -> AddCommunicationToCaseResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddCommunicationToCaseResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddCommunicationToCaseResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddCommunicationToCaseResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddCommunicationToCaseResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddCommunicationToCaseResponse -> m AddCommunicationToCaseResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddCommunicationToCaseResponse -> m AddCommunicationToCaseResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddCommunicationToCaseResponse -> m AddCommunicationToCaseResponse #

Read AddCommunicationToCaseResponse # 
Show AddCommunicationToCaseResponse # 
Generic AddCommunicationToCaseResponse # 
NFData AddCommunicationToCaseResponse # 
type Rep AddCommunicationToCaseResponse # 
type Rep AddCommunicationToCaseResponse = D1 (MetaData "AddCommunicationToCaseResponse" "Network.AWS.Support.AddCommunicationToCase" "amazonka-support-1.4.5-LmQIPNTI7OzCplN8wzzWV7" False) (C1 (MetaCons "AddCommunicationToCaseResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_actcrsResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_actcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

actcrsResult :: Lens' AddCommunicationToCaseResponse (Maybe Bool) #

True if AddCommunicationToCase succeeds. Otherwise, returns an error.