amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 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.LexV2Models.CreateUploadUrl

Description

Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.

Synopsis

Creating a Request

data CreateUploadUrl Source #

See: newCreateUploadUrl smart constructor.

Constructors

CreateUploadUrl' 

Instances

Instances details
ToJSON CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

ToHeaders CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

ToPath CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

ToQuery CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

AWSRequest CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Associated Types

type AWSResponse CreateUploadUrl #

Generic CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Associated Types

type Rep CreateUploadUrl :: Type -> Type #

Read CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Show CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

NFData CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Methods

rnf :: CreateUploadUrl -> () #

Eq CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Hashable CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

type AWSResponse CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

type Rep CreateUploadUrl Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

type Rep CreateUploadUrl = D1 ('MetaData "CreateUploadUrl" "Amazonka.LexV2Models.CreateUploadUrl" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "CreateUploadUrl'" 'PrefixI 'False) (U1 :: Type -> Type))

newCreateUploadUrl :: CreateUploadUrl Source #

Create a value of CreateUploadUrl with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data CreateUploadUrlResponse Source #

See: newCreateUploadUrlResponse smart constructor.

Constructors

CreateUploadUrlResponse' 

Fields

Instances

Instances details
Generic CreateUploadUrlResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Associated Types

type Rep CreateUploadUrlResponse :: Type -> Type #

Read CreateUploadUrlResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Show CreateUploadUrlResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

NFData CreateUploadUrlResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

Methods

rnf :: CreateUploadUrlResponse -> () #

Eq CreateUploadUrlResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

type Rep CreateUploadUrlResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.CreateUploadUrl

type Rep CreateUploadUrlResponse = D1 ('MetaData "CreateUploadUrlResponse" "Amazonka.LexV2Models.CreateUploadUrl" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "CreateUploadUrlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "uploadUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateUploadUrlResponse Source #

Create a value of CreateUploadUrlResponse 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:

CreateUploadUrlResponse, createUploadUrlResponse_importId - An identifier for a unique import job. Use it when you call the StartImport operation.

$sel:uploadUrl:CreateUploadUrlResponse', createUploadUrlResponse_uploadUrl - A pre-signed S3 write URL. Upload the zip archive file that contains the definition of your bot or bot locale.

$sel:httpStatus:CreateUploadUrlResponse', createUploadUrlResponse_httpStatus - The response's http status code.

Response Lenses

createUploadUrlResponse_importId :: Lens' CreateUploadUrlResponse (Maybe Text) Source #

An identifier for a unique import job. Use it when you call the StartImport operation.

createUploadUrlResponse_uploadUrl :: Lens' CreateUploadUrlResponse (Maybe Text) Source #

A pre-signed S3 write URL. Upload the zip archive file that contains the definition of your bot or bot locale.