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 |
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.
DeleteRevision' | |
|
Instances
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.
Instances
Eq DeleteRevisionResponse Source # | |
Defined in Amazonka.DataExchange.DeleteRevision | |
Read DeleteRevisionResponse Source # | |
Show DeleteRevisionResponse Source # | |
Defined in Amazonka.DataExchange.DeleteRevision showsPrec :: Int -> DeleteRevisionResponse -> ShowS # show :: DeleteRevisionResponse -> String # showList :: [DeleteRevisionResponse] -> ShowS # | |
Generic DeleteRevisionResponse Source # | |
Defined in Amazonka.DataExchange.DeleteRevision type Rep DeleteRevisionResponse :: Type -> Type # | |
NFData DeleteRevisionResponse Source # | |
Defined in Amazonka.DataExchange.DeleteRevision rnf :: DeleteRevisionResponse -> () # | |
type Rep DeleteRevisionResponse Source # | |
Defined in Amazonka.DataExchange.DeleteRevision |
newDeleteRevisionResponse :: DeleteRevisionResponse Source #
Create a value of DeleteRevisionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.