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

Description

Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.

Synopsis

Creating a Request

data StartAttachmentUpload Source #

See: newStartAttachmentUpload smart constructor.

Constructors

StartAttachmentUpload' 

Fields

Instances

Instances details
Eq StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Read StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Show StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Generic StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Associated Types

type Rep StartAttachmentUpload :: Type -> Type #

NFData StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Methods

rnf :: StartAttachmentUpload -> () #

Hashable StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

ToJSON StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

AWSRequest StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Associated Types

type AWSResponse StartAttachmentUpload #

ToHeaders StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

ToPath StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

ToQuery StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

type Rep StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

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

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

newStartAttachmentUpload Source #

Create a value of StartAttachmentUpload 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:contentType:StartAttachmentUpload', startAttachmentUpload_contentType - Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.

$sel:attachmentSizeInBytes:StartAttachmentUpload', startAttachmentUpload_attachmentSizeInBytes - The size of the attachment in bytes.

$sel:attachmentName:StartAttachmentUpload', startAttachmentUpload_attachmentName - A case-sensitive name of the attachment being uploaded.

$sel:clientToken:StartAttachmentUpload', startAttachmentUpload_clientToken - A unique case sensitive identifier to support idempotency of request.

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

Request Lenses

startAttachmentUpload_contentType :: Lens' StartAttachmentUpload Text Source #

Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.

startAttachmentUpload_attachmentName :: Lens' StartAttachmentUpload Text Source #

A case-sensitive name of the attachment being uploaded.

startAttachmentUpload_clientToken :: Lens' StartAttachmentUpload Text Source #

A unique case sensitive identifier to support idempotency of request.

startAttachmentUpload_connectionToken :: Lens' StartAttachmentUpload Text Source #

The authentication token associated with the participant's connection.

Destructuring the Response

data StartAttachmentUploadResponse Source #

See: newStartAttachmentUploadResponse smart constructor.

Constructors

StartAttachmentUploadResponse' 

Fields

Instances

Instances details
Eq StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Read StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Show StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Generic StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Associated Types

type Rep StartAttachmentUploadResponse :: Type -> Type #

NFData StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

type Rep StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

type Rep StartAttachmentUploadResponse = D1 ('MetaData "StartAttachmentUploadResponse" "Amazonka.ConnectParticipant.StartAttachmentUpload" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "StartAttachmentUploadResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "uploadMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UploadMetadata)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newStartAttachmentUploadResponse Source #

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

$sel:uploadMetadata:StartAttachmentUploadResponse', startAttachmentUploadResponse_uploadMetadata - Fields to be used while uploading the attachment.

$sel:httpStatus:StartAttachmentUploadResponse', startAttachmentUploadResponse_httpStatus - The response's http status code.

Response Lenses