update_ops_metadata
¶
update_ops_metadata(
ops_metadata_arn: OpsMetadataArn,
*,
config_overrides: Optional[SSMClientConfig] = None,
metadata_to_update: Optional[MetadataMap] = None,
keys_to_delete: Optional[MetadataKeysToDeleteList] = None,
) -> UpdateOpsMetadataResult
Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.
Parameters:
-
ops_metadata_arn(OpsMetadataArn) –The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
-
metadata_to_update(Optional[MetadataMap], default:None) –Metadata to add to an OpsMetadata object.
-
keys_to_delete(Optional[MetadataKeysToDeleteList], default:None) –The metadata keys to delete from the OpsMetadata object.
Raises:
-
InternalServerError–An error occurred on the server side.
-
OpsMetadataInvalidArgumentException–One of the arguments passed is invalid.
-
OpsMetadataKeyLimitExceededException–The OpsMetadata object exceeds the maximum number of OpsMetadata keys that you can assign to an application in Application Manager.
-
OpsMetadataNotFoundException–The OpsMetadata object doesn't exist.
-
OpsMetadataTooManyUpdatesException–The system is processing too many concurrent updates. Wait a few moments and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/ssm.py
12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 | |