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 |
Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.
Synopsis
- data UpdateOpsMetadata = UpdateOpsMetadata' {}
- newUpdateOpsMetadata :: Text -> UpdateOpsMetadata
- updateOpsMetadata_metadataToUpdate :: Lens' UpdateOpsMetadata (Maybe (HashMap Text MetadataValue))
- updateOpsMetadata_keysToDelete :: Lens' UpdateOpsMetadata (Maybe (NonEmpty Text))
- updateOpsMetadata_opsMetadataArn :: Lens' UpdateOpsMetadata Text
- data UpdateOpsMetadataResponse = UpdateOpsMetadataResponse' {
- opsMetadataArn :: Maybe Text
- httpStatus :: Int
- newUpdateOpsMetadataResponse :: Int -> UpdateOpsMetadataResponse
- updateOpsMetadataResponse_opsMetadataArn :: Lens' UpdateOpsMetadataResponse (Maybe Text)
- updateOpsMetadataResponse_httpStatus :: Lens' UpdateOpsMetadataResponse Int
Creating a Request
data UpdateOpsMetadata Source #
See: newUpdateOpsMetadata
smart constructor.
UpdateOpsMetadata' | |
|
Instances
Create a value of UpdateOpsMetadata
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:metadataToUpdate:UpdateOpsMetadata'
, updateOpsMetadata_metadataToUpdate
- Metadata to add to an OpsMetadata object.
$sel:keysToDelete:UpdateOpsMetadata'
, updateOpsMetadata_keysToDelete
- The metadata keys to delete from the OpsMetadata object.
$sel:opsMetadataArn:UpdateOpsMetadata'
, updateOpsMetadata_opsMetadataArn
- The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
Request Lenses
updateOpsMetadata_metadataToUpdate :: Lens' UpdateOpsMetadata (Maybe (HashMap Text MetadataValue)) Source #
Metadata to add to an OpsMetadata object.
updateOpsMetadata_keysToDelete :: Lens' UpdateOpsMetadata (Maybe (NonEmpty Text)) Source #
The metadata keys to delete from the OpsMetadata object.
updateOpsMetadata_opsMetadataArn :: Lens' UpdateOpsMetadata Text Source #
The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
Destructuring the Response
data UpdateOpsMetadataResponse Source #
See: newUpdateOpsMetadataResponse
smart constructor.
UpdateOpsMetadataResponse' | |
|
Instances
newUpdateOpsMetadataResponse Source #
Create a value of UpdateOpsMetadataResponse
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:opsMetadataArn:UpdateOpsMetadata'
, updateOpsMetadataResponse_opsMetadataArn
- The Amazon Resource Name (ARN) of the OpsMetadata Object that was
updated.
$sel:httpStatus:UpdateOpsMetadataResponse'
, updateOpsMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
updateOpsMetadataResponse_opsMetadataArn :: Lens' UpdateOpsMetadataResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the OpsMetadata Object that was updated.
updateOpsMetadataResponse_httpStatus :: Lens' UpdateOpsMetadataResponse Int Source #
The response's http status code.