amazonka-connectparticipant-2.0: Amazon Connect Participant Service 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.ConnectParticipant.StartAttachmentUpload

Description

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

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

Synopsis

Creating a Request

data StartAttachmentUpload Source #

See: newStartAttachmentUpload smart constructor.

Constructors

StartAttachmentUpload' 

Fields

Instances

Instances details
ToJSON StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.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

AWSRequest StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Associated Types

type AWSResponse StartAttachmentUpload #

Generic StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Associated Types

type Rep StartAttachmentUpload :: Type -> Type #

Read StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Show StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

NFData StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Methods

rnf :: StartAttachmentUpload -> () #

Eq StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Hashable StartAttachmentUpload Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

type AWSResponse 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" "amazonka-connectparticipant-2.0-I4GmkIlwxQUGg1dW7eNFQJ" '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)))))

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:

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.

StartAttachmentUpload, startAttachmentUpload_attachmentName - A case-sensitive name of the attachment being uploaded.

$sel:clientToken:StartAttachmentUpload', startAttachmentUpload_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

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 that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

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
Generic StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Associated Types

type Rep StartAttachmentUploadResponse :: Type -> Type #

Read StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Show StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

NFData StartAttachmentUploadResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.StartAttachmentUpload

Eq 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" "amazonka-connectparticipant-2.0-I4GmkIlwxQUGg1dW7eNFQJ" '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:

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