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.APIGateway.DeleteDocumentationVersion
Description
- - | Undocumented operation.
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.
Constructors
DeleteDocumentationVersion' | |
Fields
|
Instances
newDeleteDocumentationVersion Source #
Arguments
:: Text | |
-> Text | |
-> DeleteDocumentationVersion |
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:
$sel:restApiId:DeleteDocumentationVersion'
, deleteDocumentationVersion_restApiId
- [Required] The string identifier of the associated RestApi.
$sel:documentationVersion:DeleteDocumentationVersion'
, deleteDocumentationVersion_documentationVersion
- [Required] The version identifier of a to-be-deleted documentation
snapshot.
Request Lenses
deleteDocumentationVersion_restApiId :: Lens' DeleteDocumentationVersion Text Source #
- Required
- The string identifier of the associated RestApi.
deleteDocumentationVersion_documentationVersion :: Lens' DeleteDocumentationVersion Text Source #
- Required
- The version identifier of a to-be-deleted documentation snapshot.
Destructuring the Response
data DeleteDocumentationVersionResponse Source #
See: newDeleteDocumentationVersionResponse
smart constructor.
Constructors
DeleteDocumentationVersionResponse' | |
Instances
newDeleteDocumentationVersionResponse :: DeleteDocumentationVersionResponse Source #
Create a value of DeleteDocumentationVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.