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

Description

 
Synopsis

Documentation

data UploadMetadata Source #

Fields to be used while uploading the attachment.

See: newUploadMetadata smart constructor.

Constructors

UploadMetadata' 

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.

  • headersToInclude :: Maybe (HashMap Text Text)

    The headers to be provided while uploading the file to the URL.

  • url :: Maybe Text

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

Instances

Instances details
Eq UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

Read UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

Show UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

Generic UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

Associated Types

type Rep UploadMetadata :: Type -> Type #

NFData UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

Methods

rnf :: UploadMetadata -> () #

Hashable UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

FromJSON UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

type Rep UploadMetadata Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.UploadMetadata

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

newUploadMetadata :: UploadMetadata Source #

Create a value of UploadMetadata 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:UploadMetadata', uploadMetadata_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:headersToInclude:UploadMetadata', uploadMetadata_headersToInclude - The headers to be provided while uploading the file to the URL.

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

uploadMetadata_urlExpiry :: Lens' UploadMetadata (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.

uploadMetadata_headersToInclude :: Lens' UploadMetadata (Maybe (HashMap Text Text)) Source #

The headers to be provided while uploading the file to the URL.

uploadMetadata_url :: Lens' UploadMetadata (Maybe Text) Source #

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