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 |
Amazonka.DataExchange.DeleteRevision
Description
This operation deletes a revision.
Synopsis
- data DeleteRevision = DeleteRevision' {
- revisionId :: Text
- dataSetId :: Text
- newDeleteRevision :: Text -> Text -> DeleteRevision
- deleteRevision_revisionId :: Lens' DeleteRevision Text
- deleteRevision_dataSetId :: Lens' DeleteRevision Text
- data DeleteRevisionResponse = DeleteRevisionResponse' {
- newDeleteRevisionResponse :: DeleteRevisionResponse
Creating a Request
data DeleteRevision Source #
See: newDeleteRevision
smart constructor.
Constructors
DeleteRevision' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> DeleteRevision |
Create a value of DeleteRevision
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:revisionId:DeleteRevision'
, deleteRevision_revisionId
- The unique identifier for a revision.
$sel:dataSetId:DeleteRevision'
, deleteRevision_dataSetId
- The unique identifier for a data set.
Request Lenses
deleteRevision_revisionId :: Lens' DeleteRevision Text Source #
The unique identifier for a revision.
deleteRevision_dataSetId :: Lens' DeleteRevision Text Source #
The unique identifier for a data set.
Destructuring the Response
data DeleteRevisionResponse Source #
See: newDeleteRevisionResponse
smart constructor.
Constructors
DeleteRevisionResponse' | |
Instances
newDeleteRevisionResponse :: DeleteRevisionResponse Source #
Create a value of DeleteRevisionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.