amazonka-support-1.6.1: Amazon Support SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • 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 Source #

To be written.

See: addCommunicationToCase smart constructor.

Instances
Eq AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Data AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.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 Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Show AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Generic AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Associated Types

type Rep AddCommunicationToCase :: Type -> Type #

Hashable AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

ToJSON AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

AWSRequest AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Associated Types

type Rs AddCommunicationToCase :: Type #

ToHeaders AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

ToPath AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

ToQuery AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

NFData AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Methods

rnf :: AddCommunicationToCase -> () #

type Rep AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

type Rep AddCommunicationToCase = D1 (MetaData "AddCommunicationToCase" "Network.AWS.Support.AddCommunicationToCase" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" False) (C1 (MetaCons "AddCommunicationToCase'" PrefixI True) ((S1 (MetaSel (Just "_actcCaseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_actcCcEmailAddresses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_actcAttachmentSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_actcCommunicationBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AddCommunicationToCase Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

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 # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Data AddCommunicationToCaseResponse Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

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 # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Show AddCommunicationToCaseResponse Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Generic AddCommunicationToCaseResponse Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

Associated Types

type Rep AddCommunicationToCaseResponse :: Type -> Type #

NFData AddCommunicationToCaseResponse Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

type Rep AddCommunicationToCaseResponse Source # 
Instance details

Defined in Network.AWS.Support.AddCommunicationToCase

type Rep AddCommunicationToCaseResponse = D1 (MetaData "AddCommunicationToCaseResponse" "Network.AWS.Support.AddCommunicationToCase" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" False) (C1 (MetaCons "AddCommunicationToCaseResponse'" PrefixI True) (S1 (MetaSel (Just "_actcrsResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_actcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

True if AddCommunicationToCase succeeds. Otherwise, returns an error.