amazonka-support-2.0: Amazon Support SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Support.Types.AttachmentDetails

Description

 
Synopsis

Documentation

data AttachmentDetails Source #

The file name and ID of an attachment to a case communication. You can use the ID to retrieve the attachment with the DescribeAttachment operation.

See: newAttachmentDetails smart constructor.

Constructors

AttachmentDetails' 

Fields

Instances

Instances details
FromJSON AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

Generic AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

Associated Types

type Rep AttachmentDetails :: Type -> Type #

Read AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

Show AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

NFData AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

Methods

rnf :: AttachmentDetails -> () #

Eq AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

Hashable AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

type Rep AttachmentDetails Source # 
Instance details

Defined in Amazonka.Support.Types.AttachmentDetails

type Rep AttachmentDetails = D1 ('MetaData "AttachmentDetails" "Amazonka.Support.Types.AttachmentDetails" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" 'False) (C1 ('MetaCons "AttachmentDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAttachmentDetails :: AttachmentDetails Source #

Create a value of AttachmentDetails 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:attachmentId:AttachmentDetails', attachmentDetails_attachmentId - The ID of the attachment.

$sel:fileName:AttachmentDetails', attachmentDetails_fileName - The file name of the attachment.

attachmentDetails_fileName :: Lens' AttachmentDetails (Maybe Text) Source #

The file name of the attachment.