Skip to content

SSMClient.update_ops_item

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): Edit or change an OpsItem. You must have permission in Identity and Access Management (IAM) to update an OpsItem. For more information, see Set up OpsCenter in the Amazon Web Services Systems Manager User Guide . Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational issues impacting the performance and health...

Install and imports

python -m pip install "rboto[ssm]==0.4.0"
from rboto import SSMClient
from collections.abc import Sequence
from rboto_ssm.types import (
    OpsItemDataValue,
    OpsItemNotification,
    OpsItemStatus,
    RelatedOpsItem,
    UpdateOpsItemOutput,
)

Signature

async def update_ops_item(
    *,
    ops_item_id: str,
    description: str | None = None,
    operational_data: dict[str, OpsItemDataValue] | None = None,
    operational_data_to_delete: Sequence[str] | None = None,
    notifications: Sequence[OpsItemNotification] | None = None,
    priority: int | None = None,
    related_ops_items: Sequence[RelatedOpsItem] | None = None,
    status: OpsItemStatus | None = None,
    title: str | None = None,
    category: str | None = None,
    severity: str | None = None,
    actual_start_time: str | None = None,
    actual_end_time: str | None = None,
    planned_start_time: str | None = None,
    planned_end_time: str | None = None,
    ops_item_arn: str | None = None,
) -> UpdateOpsItemOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
ops_item_id Yes The ID of the OpsItem.
description No User-defined text that contains information about the OpsItem, in Markdown format.
operational_data No Add new keys or edit existing key-value pairs of the OperationalData map in the OpsItem object. Operational data is custom data that provides useful reference details about the OpsItem. For example, you can specify log files, error strings, license keys, troubleshooting tips, or other relevant data. You enter operational data as key-value pairs. The key has a maximum length of 128 characters....
operational_data_to_delete No Keys that you want to remove from the OperationalData map.
notifications No The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
priority No The importance of this OpsItem in relation to other OpsItems in the system.
related_ops_items No One or more OpsItems that share something in common with the current OpsItems. For example, related OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource.
status No The OpsItem status. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide .
title No A short heading that describes the nature of the OpsItem and the impacted resource.
category No Specify a new category for an OpsItem.
severity No Specify a new severity for an OpsItem.
actual_start_time No The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest .
actual_end_time No The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest .
planned_start_time No The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type /aws/changerequest .
planned_end_time No The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type /aws/changerequest .
ops_item_arn No The OpsItem Amazon Resource Name (ARN).

Output

UpdateOpsItemOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

No fields.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

OpsItemDataValue, OpsItemNotification, OpsItemStatus, RelatedOpsItem, UpdateOpsItemOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_ssm.exceptions:

InternalServerError, OpsItemAccessDeniedError, OpsItemAlreadyExistsError, OpsItemConflictError, OpsItemInvalidParameterError, OpsItemLimitExceededError, OpsItemNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model