amazonka-support-1.4.4: 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 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:

data AddCommunicationToCase Source #

To be written.

See: addCommunicationToCase smart constructor.

Instances

Eq AddCommunicationToCase Source # 
Data AddCommunicationToCase Source # 

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 Source # 
Show AddCommunicationToCase Source # 
Generic AddCommunicationToCase Source # 
Hashable AddCommunicationToCase Source # 
NFData AddCommunicationToCase Source # 

Methods

rnf :: AddCommunicationToCase -> () #

AWSRequest AddCommunicationToCase Source # 
ToPath AddCommunicationToCase Source # 
ToHeaders AddCommunicationToCase Source # 
ToQuery AddCommunicationToCase Source # 
ToJSON AddCommunicationToCase Source # 
type Rep AddCommunicationToCase Source # 
type Rep AddCommunicationToCase = D1 (MetaData "AddCommunicationToCase" "Network.AWS.Support.AddCommunicationToCase" "amazonka-support-1.4.4-JEM9W1YDe7G2rp2qbVhRRN" 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 Source # 

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:

data AddCommunicationToCaseResponse Source #

The result of the AddCommunicationToCase operation.

See: addCommunicationToCaseResponse smart constructor.

Instances

Eq AddCommunicationToCaseResponse Source # 
Data AddCommunicationToCaseResponse Source # 

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 Source # 
Show AddCommunicationToCaseResponse Source # 
Generic AddCommunicationToCaseResponse Source # 
NFData AddCommunicationToCaseResponse Source # 
type Rep AddCommunicationToCaseResponse Source # 
type Rep AddCommunicationToCaseResponse = D1 (MetaData "AddCommunicationToCaseResponse" "Network.AWS.Support.AddCommunicationToCase" "amazonka-support-1.4.4-JEM9W1YDe7G2rp2qbVhRRN" 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) Source #

True if AddCommunicationToCase succeeds. Otherwise, returns an error.