Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Undocumented operation.
- updateDocumentationVersion :: Text -> Text -> UpdateDocumentationVersion
- data UpdateDocumentationVersion
- udvPatchOperations :: Lens' UpdateDocumentationVersion [PatchOperation]
- udvRestAPIId :: Lens' UpdateDocumentationVersion Text
- udvDocumentationVersion :: Lens' UpdateDocumentationVersion Text
- documentationVersion :: DocumentationVersion
- data DocumentationVersion
- dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime)
- dvVersion :: Lens' DocumentationVersion (Maybe Text)
- dvDescription :: Lens' DocumentationVersion (Maybe Text)
Creating a Request
updateDocumentationVersion Source #
Creates a value of UpdateDocumentationVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udvPatchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this list.udvRestAPIId
- [Required] The identifier of an API of the to-be-updated documentation version.udvDocumentationVersion
- [Required] The version identifier of the to-be-updated documentation version.
data UpdateDocumentationVersion Source #
Updates an existing documentation version of an API.
See: updateDocumentationVersion
smart constructor.
Request Lenses
udvPatchOperations :: Lens' UpdateDocumentationVersion [PatchOperation] Source #
A list of update operations to be applied to the specified resource and in the order specified in this list.
udvRestAPIId :: Lens' UpdateDocumentationVersion Text Source #
- Required
- The identifier of an API of the to-be-updated documentation version.
udvDocumentationVersion :: Lens' UpdateDocumentationVersion Text Source #
- Required
- The version identifier of the to-be-updated documentation version.
Destructuring the Response
documentationVersion :: DocumentationVersion Source #
Creates a value of DocumentationVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvCreatedDate
- The date when the API documentation snapshot is created.dvVersion
- The version identifier of the API documentation snapshot.dvDescription
- The description of the API documentation snapshot.
data DocumentationVersion Source #
A snapshot of the documentation of an API.
Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file.
Documenting an API , DocumentationPart
, DocumentationVersions
See: documentationVersion
smart constructor.
Response Lenses
dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime) Source #
The date when the API documentation snapshot is created.
dvVersion :: Lens' DocumentationVersion (Maybe Text) Source #
The version identifier of the API documentation snapshot.
dvDescription :: Lens' DocumentationVersion (Maybe Text) Source #
The description of the API documentation snapshot.