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.DescribeAttachment

Contents

Description

Returns the attachment that has the specified ID. Attachment IDs are generated by the case management system when you add an attachment to a case or case communication. Attachment IDs are returned in the AttachmentDetails objects that are returned by the DescribeCommunications operation.

Synopsis

Creating a Request

describeAttachment Source #

Creates a value of DescribeAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • daAttachmentId - The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.

data DescribeAttachment Source #

See: describeAttachment smart constructor.

Instances
Eq DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Data DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Methods

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

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

toConstr :: DescribeAttachment -> Constr #

dataTypeOf :: DescribeAttachment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Show DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Generic DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Associated Types

type Rep DescribeAttachment :: Type -> Type #

Hashable DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

ToJSON DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

AWSRequest DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Associated Types

type Rs DescribeAttachment :: Type #

ToHeaders DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

ToPath DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

ToQuery DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

NFData DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Methods

rnf :: DescribeAttachment -> () #

type Rep DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

type Rep DescribeAttachment = D1 (MetaData "DescribeAttachment" "Network.AWS.Support.DescribeAttachment" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" True) (C1 (MetaCons "DescribeAttachment'" PrefixI True) (S1 (MetaSel (Just "_daAttachmentId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeAttachment Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Request Lenses

daAttachmentId :: Lens' DescribeAttachment Text Source #

The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.

Destructuring the Response

describeAttachmentResponse Source #

Creates a value of DescribeAttachmentResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeAttachmentResponse Source #

The content and file name of the attachment returned by the DescribeAttachment operation.

See: describeAttachmentResponse smart constructor.

Instances
Eq DescribeAttachmentResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Data DescribeAttachmentResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Methods

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

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

toConstr :: DescribeAttachmentResponse -> Constr #

dataTypeOf :: DescribeAttachmentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeAttachmentResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Show DescribeAttachmentResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Generic DescribeAttachmentResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

Associated Types

type Rep DescribeAttachmentResponse :: Type -> Type #

NFData DescribeAttachmentResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

type Rep DescribeAttachmentResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeAttachment

type Rep DescribeAttachmentResponse = D1 (MetaData "DescribeAttachmentResponse" "Network.AWS.Support.DescribeAttachment" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" False) (C1 (MetaCons "DescribeAttachmentResponse'" PrefixI True) (S1 (MetaSel (Just "_darsAttachment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Attachment)) :*: S1 (MetaSel (Just "_darsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

darsAttachment :: Lens' DescribeAttachmentResponse (Maybe Attachment) Source #

The attachment content and file name.