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 |
Deletes a parallel data resource in Amazon Translate.
Synopsis
- data DeleteParallelData = DeleteParallelData' {}
- newDeleteParallelData :: Text -> DeleteParallelData
- deleteParallelData_name :: Lens' DeleteParallelData Text
- data DeleteParallelDataResponse = DeleteParallelDataResponse' {
- status :: Maybe ParallelDataStatus
- name :: Maybe Text
- httpStatus :: Int
- newDeleteParallelDataResponse :: Int -> DeleteParallelDataResponse
- deleteParallelDataResponse_status :: Lens' DeleteParallelDataResponse (Maybe ParallelDataStatus)
- deleteParallelDataResponse_name :: Lens' DeleteParallelDataResponse (Maybe Text)
- deleteParallelDataResponse_httpStatus :: Lens' DeleteParallelDataResponse Int
Creating a Request
data DeleteParallelData Source #
See: newDeleteParallelData
smart constructor.
Instances
newDeleteParallelData Source #
Create a value of DeleteParallelData
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:name:DeleteParallelData'
, deleteParallelData_name
- The name of the parallel data resource that is being deleted.
Request Lenses
deleteParallelData_name :: Lens' DeleteParallelData Text Source #
The name of the parallel data resource that is being deleted.
Destructuring the Response
data DeleteParallelDataResponse Source #
See: newDeleteParallelDataResponse
smart constructor.
DeleteParallelDataResponse' | |
|
Instances
newDeleteParallelDataResponse Source #
Create a value of DeleteParallelDataResponse
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:status:DeleteParallelDataResponse'
, deleteParallelDataResponse_status
- The status of the parallel data deletion.
$sel:name:DeleteParallelData'
, deleteParallelDataResponse_name
- The name of the parallel data resource that is being deleted.
$sel:httpStatus:DeleteParallelDataResponse'
, deleteParallelDataResponse_httpStatus
- The response's http status code.
Response Lenses
deleteParallelDataResponse_status :: Lens' DeleteParallelDataResponse (Maybe ParallelDataStatus) Source #
The status of the parallel data deletion.
deleteParallelDataResponse_name :: Lens' DeleteParallelDataResponse (Maybe Text) Source #
The name of the parallel data resource that is being deleted.
deleteParallelDataResponse_httpStatus :: Lens' DeleteParallelDataResponse Int Source #
The response's http status code.