libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant
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.ConnectParticipant.GetAttachment

Description

Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.

Synopsis

Creating a Request

data GetAttachment Source #

See: newGetAttachment smart constructor.

Constructors

GetAttachment' 

Fields

Instances

Instances details
Eq GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Read GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Show GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Generic GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Associated Types

type Rep GetAttachment :: Type -> Type #

NFData GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Methods

rnf :: GetAttachment -> () #

Hashable GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

ToJSON GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

AWSRequest GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Associated Types

type AWSResponse GetAttachment #

ToHeaders GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

ToPath GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

ToQuery GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

type Rep GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

type Rep GetAttachment = D1 ('MetaData "GetAttachment" "Amazonka.ConnectParticipant.GetAttachment" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "GetAttachment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "connectionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetAttachment Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

newGetAttachment Source #

Create a value of GetAttachment 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:GetAttachment', getAttachment_attachmentId - A unique identifier for the attachment.

$sel:connectionToken:GetAttachment', getAttachment_connectionToken - The authentication token associated with the participant's connection.

Request Lenses

getAttachment_attachmentId :: Lens' GetAttachment Text Source #

A unique identifier for the attachment.

getAttachment_connectionToken :: Lens' GetAttachment Text Source #

The authentication token associated with the participant's connection.

Destructuring the Response

data GetAttachmentResponse Source #

See: newGetAttachmentResponse smart constructor.

Constructors

GetAttachmentResponse' 

Fields

  • urlExpiry :: Maybe Text

    The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

  • url :: Maybe Text

    The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetAttachmentResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Read GetAttachmentResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Show GetAttachmentResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Generic GetAttachmentResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Associated Types

type Rep GetAttachmentResponse :: Type -> Type #

NFData GetAttachmentResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

Methods

rnf :: GetAttachmentResponse -> () #

type Rep GetAttachmentResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetAttachment

type Rep GetAttachmentResponse = D1 ('MetaData "GetAttachmentResponse" "Amazonka.ConnectParticipant.GetAttachment" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "GetAttachmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "urlExpiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAttachmentResponse Source #

Create a value of GetAttachmentResponse 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:urlExpiry:GetAttachmentResponse', getAttachmentResponse_urlExpiry - The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

$sel:url:GetAttachmentResponse', getAttachmentResponse_url - The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.

$sel:httpStatus:GetAttachmentResponse', getAttachmentResponse_httpStatus - The response's http status code.

Response Lenses

getAttachmentResponse_urlExpiry :: Lens' GetAttachmentResponse (Maybe Text) Source #

The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

getAttachmentResponse_url :: Lens' GetAttachmentResponse (Maybe Text) Source #

The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.