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 |
- - | 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.
DeleteDocumentationVersion' | |
|
Instances
newDeleteDocumentationVersion Source #
:: 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.
Instances
Eq DeleteDocumentationVersionResponse Source # | |
Read DeleteDocumentationVersionResponse Source # | |
Show DeleteDocumentationVersionResponse Source # | |
Generic DeleteDocumentationVersionResponse Source # | |
NFData DeleteDocumentationVersionResponse Source # | |
Defined in Amazonka.APIGateway.DeleteDocumentationVersion rnf :: DeleteDocumentationVersionResponse -> () # | |
type Rep DeleteDocumentationVersionResponse Source # | |
Defined in Amazonka.APIGateway.DeleteDocumentationVersion type Rep DeleteDocumentationVersionResponse = D1 ('MetaData "DeleteDocumentationVersionResponse" "Amazonka.APIGateway.DeleteDocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDocumentationVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteDocumentationVersionResponse :: DeleteDocumentationVersionResponse Source #
Create a value of DeleteDocumentationVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.