| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSM.UpdateDocumentMetadata
Description
Updates information related to approval reviews for a specific version of a change template in Change Manager.
Synopsis
- data UpdateDocumentMetadata = UpdateDocumentMetadata' {}
- newUpdateDocumentMetadata :: Text -> DocumentReviews -> UpdateDocumentMetadata
- updateDocumentMetadata_documentVersion :: Lens' UpdateDocumentMetadata (Maybe Text)
- updateDocumentMetadata_name :: Lens' UpdateDocumentMetadata Text
- updateDocumentMetadata_documentReviews :: Lens' UpdateDocumentMetadata DocumentReviews
- data UpdateDocumentMetadataResponse = UpdateDocumentMetadataResponse' {
- httpStatus :: Int
- newUpdateDocumentMetadataResponse :: Int -> UpdateDocumentMetadataResponse
- updateDocumentMetadataResponse_httpStatus :: Lens' UpdateDocumentMetadataResponse Int
Creating a Request
data UpdateDocumentMetadata Source #
See: newUpdateDocumentMetadata smart constructor.
Constructors
| UpdateDocumentMetadata' | |
Fields
| |
Instances
newUpdateDocumentMetadata Source #
Arguments
| :: Text | |
| -> DocumentReviews | |
| -> UpdateDocumentMetadata |
Create a value of UpdateDocumentMetadata 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:
UpdateDocumentMetadata, updateDocumentMetadata_documentVersion - The version of a change template in which to update approval metadata.
UpdateDocumentMetadata, updateDocumentMetadata_name - The name of the change template for which a version's metadata is to be
updated.
$sel:documentReviews:UpdateDocumentMetadata', updateDocumentMetadata_documentReviews - The change template review details to update.
Request Lenses
updateDocumentMetadata_documentVersion :: Lens' UpdateDocumentMetadata (Maybe Text) Source #
The version of a change template in which to update approval metadata.
updateDocumentMetadata_name :: Lens' UpdateDocumentMetadata Text Source #
The name of the change template for which a version's metadata is to be updated.
updateDocumentMetadata_documentReviews :: Lens' UpdateDocumentMetadata DocumentReviews Source #
The change template review details to update.
Destructuring the Response
data UpdateDocumentMetadataResponse Source #
See: newUpdateDocumentMetadataResponse smart constructor.
Constructors
| UpdateDocumentMetadataResponse' | |
Fields
| |
Instances
newUpdateDocumentMetadataResponse Source #
Create a value of UpdateDocumentMetadataResponse 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:httpStatus:UpdateDocumentMetadataResponse', updateDocumentMetadataResponse_httpStatus - The response's http status code.
Response Lenses
updateDocumentMetadataResponse_httpStatus :: Lens' UpdateDocumentMetadataResponse Int Source #
The response's http status code.