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 |
Deletes a documentation version.
Synopsis
- data DeleteDocumentationVersion = DeleteDocumentationVersion' {}
- newDeleteDocumentationVersion :: Text -> Text -> DeleteDocumentationVersion
- deleteDocumentationVersion_restApiId :: Lens' DeleteDocumentationVersion Text
- deleteDocumentationVersion_documentationVersion :: Lens' DeleteDocumentationVersion Text
- data DeleteDocumentationVersionResponse = DeleteDocumentationVersionResponse' {
- newDeleteDocumentationVersionResponse :: DeleteDocumentationVersionResponse
Creating a Request
data DeleteDocumentationVersion Source #
Deletes an existing documentation version of an API.
See: newDeleteDocumentationVersion
smart constructor.
DeleteDocumentationVersion' | |
|
Instances
newDeleteDocumentationVersion Source #
Create a value of DeleteDocumentationVersion
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:
DeleteDocumentationVersion
, deleteDocumentationVersion_restApiId
- The string identifier of the associated RestApi.
DeleteDocumentationVersion
, deleteDocumentationVersion_documentationVersion
- The version identifier of a to-be-deleted documentation snapshot.
Request Lenses
deleteDocumentationVersion_restApiId :: Lens' DeleteDocumentationVersion Text Source #
The string identifier of the associated RestApi.
deleteDocumentationVersion_documentationVersion :: Lens' DeleteDocumentationVersion Text Source #
The version identifier of a to-be-deleted documentation snapshot.
Destructuring the Response
data DeleteDocumentationVersionResponse Source #
See: newDeleteDocumentationVersionResponse
smart constructor.
Instances
newDeleteDocumentationVersionResponse :: DeleteDocumentationVersionResponse Source #
Create a value of DeleteDocumentationVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.