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 |
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.
UpdateDocumentMetadata' | |
|
Instances
newUpdateDocumentMetadata Source #
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:
$sel:documentVersion:UpdateDocumentMetadata'
, updateDocumentMetadata_documentVersion
- The version of a change template in which to update approval metadata.
$sel:name: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.
UpdateDocumentMetadataResponse' | |
|
Instances
Eq UpdateDocumentMetadataResponse Source # | |
Read UpdateDocumentMetadataResponse Source # | |
Show UpdateDocumentMetadataResponse Source # | |
Defined in Amazonka.SSM.UpdateDocumentMetadata | |
Generic UpdateDocumentMetadataResponse Source # | |
NFData UpdateDocumentMetadataResponse Source # | |
Defined in Amazonka.SSM.UpdateDocumentMetadata rnf :: UpdateDocumentMetadataResponse -> () # | |
type Rep UpdateDocumentMetadataResponse Source # | |
Defined in Amazonka.SSM.UpdateDocumentMetadata type Rep UpdateDocumentMetadataResponse = D1 ('MetaData "UpdateDocumentMetadataResponse" "Amazonka.SSM.UpdateDocumentMetadata" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateDocumentMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.