| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.APIGateway.UpdateDocumentationVersion
Description
Undocumented operation.
Synopsis
- 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 #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateDocumentationVersion |
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 string identifier of the associatedRestApi..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.
Instances
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 string identifier of the associated
RestApi..
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.
Instances
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.