/AWS1/CL_SSMOPSITEM¶
Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational work items (OpsItems) impacting the performance and health of their Amazon Web Services resources. OpsCenter is integrated with Amazon EventBridge and Amazon CloudWatch. This means you can configure these services to automatically create an OpsItem in OpsCenter when a CloudWatch alarm enters the ALARM state or when EventBridge processes an event from any Amazon Web Services service that publishes events. Configuring Amazon CloudWatch alarms and EventBridge events to automatically create OpsItems allows you to quickly diagnose and remediate issues with Amazon Web Services resources from a single console.
To help you diagnose issues, each OpsItem includes contextually relevant information such as the name and ID of the Amazon Web Services resource that generated the OpsItem, alarm or event details, alarm history, and an alarm timeline graph. For the Amazon Web Services resource, OpsCenter aggregates information from Config, CloudTrail logs, and EventBridge, so you don't have to navigate across multiple console pages during your investigation. For more information, see Amazon Web Services Systems Manager OpsCenter in the Amazon Web Services Systems Manager User Guide.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_createdby TYPE /AWS1/SSMSTRING /AWS1/SSMSTRING¶
The ARN of the Amazon Web Services account that created the OpsItem.
iv_opsitemtype TYPE /AWS1/SSMOPSITEMTYPE /AWS1/SSMOPSITEMTYPE¶
The type of OpsItem. Systems Manager supports the following types of OpsItems:
/aws/issueThis type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequestThis type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insightThis type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
iv_createdtime TYPE /AWS1/SSMDATETIME /AWS1/SSMDATETIME¶
The date and time the OpsItem was created.
iv_description TYPE /AWS1/SSMOPSITEMDESCRIPTION /AWS1/SSMOPSITEMDESCRIPTION¶
The OpsItem description.
iv_lastmodifiedby TYPE /AWS1/SSMSTRING /AWS1/SSMSTRING¶
The ARN of the Amazon Web Services account that last updated the OpsItem.
iv_lastmodifiedtime TYPE /AWS1/SSMDATETIME /AWS1/SSMDATETIME¶
The date and time the OpsItem was last updated.
it_notifications TYPE /AWS1/CL_SSMOPSITEMNOTIF=>TT_OPSITEMNOTIFICATIONS TT_OPSITEMNOTIFICATIONS¶
The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where notifications are sent when this OpsItem is edited or changed.
iv_priority TYPE /AWS1/SSMOPSITEMPRIORITY /AWS1/SSMOPSITEMPRIORITY¶
The importance of this OpsItem in relation to other OpsItems in the system.
it_relatedopsitems TYPE /AWS1/CL_SSMRELATEDOPSITEM=>TT_RELATEDOPSITEMS TT_RELATEDOPSITEMS¶
One or more OpsItems that share something in common with the current OpsItem. For example, related OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource.
iv_status TYPE /AWS1/SSMOPSITEMSTATUS /AWS1/SSMOPSITEMSTATUS¶
The OpsItem status. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
iv_opsitemid TYPE /AWS1/SSMOPSITEMID /AWS1/SSMOPSITEMID¶
The ID of the OpsItem.
iv_version TYPE /AWS1/SSMSTRING /AWS1/SSMSTRING¶
The version of this OpsItem. Each time the OpsItem is edited the version number increments by one.
iv_title TYPE /AWS1/SSMOPSITEMTITLE /AWS1/SSMOPSITEMTITLE¶
A short heading that describes the nature of the OpsItem and the impacted resource.
iv_source TYPE /AWS1/SSMOPSITEMSOURCE /AWS1/SSMOPSITEMSOURCE¶
The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source.
it_operationaldata TYPE /AWS1/CL_SSMOPSITEMDATAVALUE=>TT_OPSITEMOPERATIONALDATA TT_OPSITEMOPERATIONALDATA¶
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. The value has a maximum size of 20 KB.
Operational data keys can't begin with the following:
amazon,aws,amzn,ssm,/amazon,/aws,/amzn,/ssm.You can choose to make the data searchable by other users in the account or you can restrict search access. Searchable data means that all users with access to the OpsItem Overview page (as provided by the DescribeOpsItems API operation) can view and search on the specified data. Operational data that isn't searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API operation).
Use the
/aws/resourceskey in OperationalData to specify a related resource in the request. Use the/aws/automationskey in OperationalData to associate an Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
iv_category TYPE /AWS1/SSMOPSITEMCATEGORY /AWS1/SSMOPSITEMCATEGORY¶
An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.
iv_severity TYPE /AWS1/SSMOPSITEMSEVERITY /AWS1/SSMOPSITEMSEVERITY¶
The severity of the OpsItem. Severity options range from 1 to 4.
iv_actualstarttime TYPE /AWS1/SSMDATETIME /AWS1/SSMDATETIME¶
The time a runbook workflow started. Currently reported only for the OpsItem type
/aws/changerequest.
iv_actualendtime TYPE /AWS1/SSMDATETIME /AWS1/SSMDATETIME¶
The time a runbook workflow ended. Currently reported only for the OpsItem type
/aws/changerequest.
iv_plannedstarttime TYPE /AWS1/SSMDATETIME /AWS1/SSMDATETIME¶
The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type
/aws/changerequest.
iv_plannedendtime TYPE /AWS1/SSMDATETIME /AWS1/SSMDATETIME¶
The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type
/aws/changerequest.
iv_opsitemarn TYPE /AWS1/SSMOPSITEMARN /AWS1/SSMOPSITEMARN¶
The OpsItem Amazon Resource Name (ARN).
Queryable Attributes¶
CreatedBy¶
The ARN of the Amazon Web Services account that created the OpsItem.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDBY() |
Getter for CREATEDBY, with configurable default |
ASK_CREATEDBY() |
Getter for CREATEDBY w/ exceptions if field has no value |
HAS_CREATEDBY() |
Determine if CREATEDBY has a value |
OpsItemType¶
The type of OpsItem. Systems Manager supports the following types of OpsItems:
/aws/issueThis type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequestThis type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insightThis type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OPSITEMTYPE() |
Getter for OPSITEMTYPE, with configurable default |
ASK_OPSITEMTYPE() |
Getter for OPSITEMTYPE w/ exceptions if field has no value |
HAS_OPSITEMTYPE() |
Determine if OPSITEMTYPE has a value |
CreatedTime¶
The date and time the OpsItem was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDTIME() |
Getter for CREATEDTIME, with configurable default |
ASK_CREATEDTIME() |
Getter for CREATEDTIME w/ exceptions if field has no value |
HAS_CREATEDTIME() |
Determine if CREATEDTIME has a value |
Description¶
The OpsItem description.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESCRIPTION() |
Getter for DESCRIPTION, with configurable default |
ASK_DESCRIPTION() |
Getter for DESCRIPTION w/ exceptions if field has no value |
HAS_DESCRIPTION() |
Determine if DESCRIPTION has a value |
LastModifiedBy¶
The ARN of the Amazon Web Services account that last updated the OpsItem.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTMODIFIEDBY() |
Getter for LASTMODIFIEDBY, with configurable default |
ASK_LASTMODIFIEDBY() |
Getter for LASTMODIFIEDBY w/ exceptions if field has no valu |
HAS_LASTMODIFIEDBY() |
Determine if LASTMODIFIEDBY has a value |
LastModifiedTime¶
The date and time the OpsItem was last updated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTMODIFIEDTIME() |
Getter for LASTMODIFIEDTIME, with configurable default |
ASK_LASTMODIFIEDTIME() |
Getter for LASTMODIFIEDTIME w/ exceptions if field has no va |
HAS_LASTMODIFIEDTIME() |
Determine if LASTMODIFIEDTIME has a value |
Notifications¶
The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where notifications are sent when this OpsItem is edited or changed.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NOTIFICATIONS() |
Getter for NOTIFICATIONS, with configurable default |
ASK_NOTIFICATIONS() |
Getter for NOTIFICATIONS w/ exceptions if field has no value |
HAS_NOTIFICATIONS() |
Determine if NOTIFICATIONS has a value |
Priority¶
The importance of this OpsItem in relation to other OpsItems in the system.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PRIORITY() |
Getter for PRIORITY, with configurable default |
ASK_PRIORITY() |
Getter for PRIORITY w/ exceptions if field has no value |
HAS_PRIORITY() |
Determine if PRIORITY has a value |
RelatedOpsItems¶
One or more OpsItems that share something in common with the current OpsItem. For example, related OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RELATEDOPSITEMS() |
Getter for RELATEDOPSITEMS, with configurable default |
ASK_RELATEDOPSITEMS() |
Getter for RELATEDOPSITEMS w/ exceptions if field has no val |
HAS_RELATEDOPSITEMS() |
Determine if RELATEDOPSITEMS has a value |
Status¶
The OpsItem status. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
OpsItemId¶
The ID of the OpsItem.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OPSITEMID() |
Getter for OPSITEMID, with configurable default |
ASK_OPSITEMID() |
Getter for OPSITEMID w/ exceptions if field has no value |
HAS_OPSITEMID() |
Determine if OPSITEMID has a value |
Version¶
The version of this OpsItem. Each time the OpsItem is edited the version number increments by one.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VERSION() |
Getter for VERSION, with configurable default |
ASK_VERSION() |
Getter for VERSION w/ exceptions if field has no value |
HAS_VERSION() |
Determine if VERSION has a value |
Title¶
A short heading that describes the nature of the OpsItem and the impacted resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TITLE() |
Getter for TITLE, with configurable default |
ASK_TITLE() |
Getter for TITLE w/ exceptions if field has no value |
HAS_TITLE() |
Determine if TITLE has a value |
Source¶
The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCE() |
Getter for SOURCE, with configurable default |
ASK_SOURCE() |
Getter for SOURCE w/ exceptions if field has no value |
HAS_SOURCE() |
Determine if SOURCE has a value |
OperationalData¶
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. The value has a maximum size of 20 KB.
Operational data keys can't begin with the following:
amazon,aws,amzn,ssm,/amazon,/aws,/amzn,/ssm.You can choose to make the data searchable by other users in the account or you can restrict search access. Searchable data means that all users with access to the OpsItem Overview page (as provided by the DescribeOpsItems API operation) can view and search on the specified data. Operational data that isn't searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API operation).
Use the
/aws/resourceskey in OperationalData to specify a related resource in the request. Use the/aws/automationskey in OperationalData to associate an Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OPERATIONALDATA() |
Getter for OPERATIONALDATA, with configurable default |
ASK_OPERATIONALDATA() |
Getter for OPERATIONALDATA w/ exceptions if field has no val |
HAS_OPERATIONALDATA() |
Determine if OPERATIONALDATA has a value |
Category¶
An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CATEGORY() |
Getter for CATEGORY, with configurable default |
ASK_CATEGORY() |
Getter for CATEGORY w/ exceptions if field has no value |
HAS_CATEGORY() |
Determine if CATEGORY has a value |
Severity¶
The severity of the OpsItem. Severity options range from 1 to 4.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SEVERITY() |
Getter for SEVERITY, with configurable default |
ASK_SEVERITY() |
Getter for SEVERITY w/ exceptions if field has no value |
HAS_SEVERITY() |
Determine if SEVERITY has a value |
ActualStartTime¶
The time a runbook workflow started. Currently reported only for the OpsItem type
/aws/changerequest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ACTUALSTARTTIME() |
Getter for ACTUALSTARTTIME, with configurable default |
ASK_ACTUALSTARTTIME() |
Getter for ACTUALSTARTTIME w/ exceptions if field has no val |
HAS_ACTUALSTARTTIME() |
Determine if ACTUALSTARTTIME has a value |
ActualEndTime¶
The time a runbook workflow ended. Currently reported only for the OpsItem type
/aws/changerequest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ACTUALENDTIME() |
Getter for ACTUALENDTIME, with configurable default |
ASK_ACTUALENDTIME() |
Getter for ACTUALENDTIME w/ exceptions if field has no value |
HAS_ACTUALENDTIME() |
Determine if ACTUALENDTIME has a value |
PlannedStartTime¶
The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type
/aws/changerequest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PLANNEDSTARTTIME() |
Getter for PLANNEDSTARTTIME, with configurable default |
ASK_PLANNEDSTARTTIME() |
Getter for PLANNEDSTARTTIME w/ exceptions if field has no va |
HAS_PLANNEDSTARTTIME() |
Determine if PLANNEDSTARTTIME has a value |
PlannedEndTime¶
The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type
/aws/changerequest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PLANNEDENDTIME() |
Getter for PLANNEDENDTIME, with configurable default |
ASK_PLANNEDENDTIME() |
Getter for PLANNEDENDTIME w/ exceptions if field has no valu |
HAS_PLANNEDENDTIME() |
Determine if PLANNEDENDTIME has a value |
OpsItemArn¶
The OpsItem Amazon Resource Name (ARN).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OPSITEMARN() |
Getter for OPSITEMARN, with configurable default |
ASK_OPSITEMARN() |
Getter for OPSITEMARN w/ exceptions if field has no value |
HAS_OPSITEMARN() |
Determine if OPSITEMARN has a value |