Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets the status of the specified upload.
Synopsis
- data GetUploadStatus = GetUploadStatus' {}
- newGetUploadStatus :: Text -> GetUploadStatus
- getUploadStatus_uploadId :: Lens' GetUploadStatus Text
- data GetUploadStatusResponse = GetUploadStatusResponse' {}
- newGetUploadStatusResponse :: Int -> Text -> UploadStatus -> UTCTime -> GetUploadStatusResponse
- getUploadStatusResponse_failureReason :: Lens' GetUploadStatusResponse (Maybe [Text])
- getUploadStatusResponse_namespaceArn :: Lens' GetUploadStatusResponse (Maybe Text)
- getUploadStatusResponse_namespaceVersion :: Lens' GetUploadStatusResponse (Maybe Integer)
- getUploadStatusResponse_namespaceName :: Lens' GetUploadStatusResponse (Maybe Text)
- getUploadStatusResponse_httpStatus :: Lens' GetUploadStatusResponse Int
- getUploadStatusResponse_uploadId :: Lens' GetUploadStatusResponse Text
- getUploadStatusResponse_uploadStatus :: Lens' GetUploadStatusResponse UploadStatus
- getUploadStatusResponse_createdDate :: Lens' GetUploadStatusResponse UTCTime
Creating a Request
data GetUploadStatus Source #
See: newGetUploadStatus
smart constructor.
Instances
Create a value of GetUploadStatus
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:uploadId:GetUploadStatus'
, getUploadStatus_uploadId
- The ID of the upload. This value is returned by the
UploadEntityDefinitions
action.
Request Lenses
getUploadStatus_uploadId :: Lens' GetUploadStatus Text Source #
The ID of the upload. This value is returned by the
UploadEntityDefinitions
action.
Destructuring the Response
data GetUploadStatusResponse Source #
See: newGetUploadStatusResponse
smart constructor.
GetUploadStatusResponse' | |
|
Instances
newGetUploadStatusResponse Source #
:: Int | |
-> Text | |
-> UploadStatus | |
-> UTCTime | |
-> GetUploadStatusResponse |
Create a value of GetUploadStatusResponse
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:failureReason:GetUploadStatusResponse'
, getUploadStatusResponse_failureReason
- The reason for an upload failure.
$sel:namespaceArn:GetUploadStatusResponse'
, getUploadStatusResponse_namespaceArn
- The ARN of the upload.
$sel:namespaceVersion:GetUploadStatusResponse'
, getUploadStatusResponse_namespaceVersion
- The version of the user's namespace. Defaults to the latest version of
the user's namespace.
$sel:namespaceName:GetUploadStatusResponse'
, getUploadStatusResponse_namespaceName
- The name of the upload's namespace.
$sel:httpStatus:GetUploadStatusResponse'
, getUploadStatusResponse_httpStatus
- The response's http status code.
$sel:uploadId:GetUploadStatus'
, getUploadStatusResponse_uploadId
- The ID of the upload.
$sel:uploadStatus:GetUploadStatusResponse'
, getUploadStatusResponse_uploadStatus
- The status of the upload. The initial status is IN_PROGRESS
. The
response show all validation failures if the upload fails.
$sel:createdDate:GetUploadStatusResponse'
, getUploadStatusResponse_createdDate
- The date at which the upload was created.
Response Lenses
getUploadStatusResponse_failureReason :: Lens' GetUploadStatusResponse (Maybe [Text]) Source #
The reason for an upload failure.
getUploadStatusResponse_namespaceArn :: Lens' GetUploadStatusResponse (Maybe Text) Source #
The ARN of the upload.
getUploadStatusResponse_namespaceVersion :: Lens' GetUploadStatusResponse (Maybe Integer) Source #
The version of the user's namespace. Defaults to the latest version of the user's namespace.
getUploadStatusResponse_namespaceName :: Lens' GetUploadStatusResponse (Maybe Text) Source #
The name of the upload's namespace.
getUploadStatusResponse_httpStatus :: Lens' GetUploadStatusResponse Int Source #
The response's http status code.
getUploadStatusResponse_uploadId :: Lens' GetUploadStatusResponse Text Source #
The ID of the upload.
getUploadStatusResponse_uploadStatus :: Lens' GetUploadStatusResponse UploadStatus Source #
The status of the upload. The initial status is IN_PROGRESS
. The
response show all validation failures if the upload fails.
getUploadStatusResponse_createdDate :: Lens' GetUploadStatusResponse UTCTime Source #
The date at which the upload was created.