Copyright | (c) 2013-2017 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 |
Set the default version of a document.
- updateDocumentDefaultVersion :: Text -> Text -> UpdateDocumentDefaultVersion
- data UpdateDocumentDefaultVersion
- uddvName :: Lens' UpdateDocumentDefaultVersion Text
- uddvDocumentVersion :: Lens' UpdateDocumentDefaultVersion Text
- updateDocumentDefaultVersionResponse :: Int -> UpdateDocumentDefaultVersionResponse
- data UpdateDocumentDefaultVersionResponse
- uddvrsDescription :: Lens' UpdateDocumentDefaultVersionResponse (Maybe DocumentDefaultVersionDescription)
- uddvrsResponseStatus :: Lens' UpdateDocumentDefaultVersionResponse Int
Creating a Request
updateDocumentDefaultVersion Source #
Creates a value of UpdateDocumentDefaultVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uddvName
- The name of a custom document that you want to set as the default version.uddvDocumentVersion
- The version of a custom document that you want to set as the default version.
data UpdateDocumentDefaultVersion Source #
See: updateDocumentDefaultVersion
smart constructor.
Request Lenses
uddvName :: Lens' UpdateDocumentDefaultVersion Text Source #
The name of a custom document that you want to set as the default version.
uddvDocumentVersion :: Lens' UpdateDocumentDefaultVersion Text Source #
The version of a custom document that you want to set as the default version.
Destructuring the Response
updateDocumentDefaultVersionResponse Source #
Creates a value of UpdateDocumentDefaultVersionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uddvrsDescription
- The description of a custom document that you want to set as the default version.uddvrsResponseStatus
- -- | The response status code.
data UpdateDocumentDefaultVersionResponse Source #
See: updateDocumentDefaultVersionResponse
smart constructor.
Response Lenses
uddvrsDescription :: Lens' UpdateDocumentDefaultVersionResponse (Maybe DocumentDefaultVersionDescription) Source #
The description of a custom document that you want to set as the default version.
uddvrsResponseStatus :: Lens' UpdateDocumentDefaultVersionResponse Int Source #
- - | The response status code.