| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data CreateUploadUrl = CreateUploadUrl' {
- newCreateUploadUrl :: CreateUploadUrl
- data CreateUploadUrlResponse = CreateUploadUrlResponse' {}
- newCreateUploadUrlResponse :: Int -> CreateUploadUrlResponse
- createUploadUrlResponse_importId :: Lens' CreateUploadUrlResponse (Maybe Text)
- createUploadUrlResponse_uploadUrl :: Lens' CreateUploadUrlResponse (Maybe Text)
- createUploadUrlResponse_httpStatus :: Lens' CreateUploadUrlResponse Int
Creating a Request
data CreateUploadUrl Source #
See: newCreateUploadUrl smart constructor.
Constructors
| CreateUploadUrl' | |
Instances
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
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.
createUploadUrlResponse_httpStatus :: Lens' CreateUploadUrlResponse Int Source #
The response's http status code.