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.Types.Communication

Description

 
Synopsis

Documentation

data Communication Source #

A communication associated with a support case. The communication consists of the case ID, the message body, attachment information, the submitter of the communication, and the date and time of the communication.

See: newCommunication smart constructor.

Constructors

Communication' 

Fields

  • body :: Maybe Text

    The text of the communication between the customer and AWS Support.

  • 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

  • submittedBy :: Maybe Text

    The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role) <janedoe@example.com>. Entries from the AWS Support team display "Amazon Web Services," and don't show an email address.

  • timeCreated :: Maybe Text

    The time the communication was created.

  • attachmentSet :: Maybe [AttachmentDetails]

    Information about the attachments to the case communication.

Instances

Instances details
Eq Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

Read Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

Show Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

Generic Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

Associated Types

type Rep Communication :: Type -> Type #

NFData Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

Methods

rnf :: Communication -> () #

Hashable Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

FromJSON Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

type Rep Communication Source # 
Instance details

Defined in Amazonka.Support.Types.Communication

type Rep Communication = D1 ('MetaData "Communication" "Amazonka.Support.Types.Communication" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "Communication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "caseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "submittedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timeCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attachmentSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AttachmentDetails]))))))

newCommunication :: Communication Source #

Create a value of Communication 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:body:Communication', communication_body - The text of the communication between the customer and AWS Support.

$sel:caseId:Communication', communication_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:submittedBy:Communication', communication_submittedBy - The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role) <janedoe@example.com>. Entries from the AWS Support team display "Amazon Web Services," and don't show an email address.

$sel:timeCreated:Communication', communication_timeCreated - The time the communication was created.

$sel:attachmentSet:Communication', communication_attachmentSet - Information about the attachments to the case communication.

communication_body :: Lens' Communication (Maybe Text) Source #

The text of the communication between the customer and AWS Support.

communication_caseId :: Lens' Communication (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

communication_submittedBy :: Lens' Communication (Maybe Text) Source #

The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role) <janedoe@example.com>. Entries from the AWS Support team display "Amazon Web Services," and don't show an email address.

communication_timeCreated :: Lens' Communication (Maybe Text) Source #

The time the communication was created.

communication_attachmentSet :: Lens' Communication (Maybe [AttachmentDetails]) Source #

Information about the attachments to the case communication.