2022/11/16 - Amazon Simple Systems Manager (SSM) - 3 new 4 updated api methods
Changes This release adds support for cross account access in CreateOpsItem, UpdateOpsItem and GetOpsItem. It introduces new APIs to setup resource policies for SSM resources: PutResourcePolicy, GetResourcePolicies and DeleteResourcePolicy.
Creates or updates a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
See also: AWS API Documentation
Request Syntax
client.put_resource_policy( ResourceArn='string', Policy='string', PolicyId='string', PolicyHash='string' )
string
[REQUIRED]
Amazon Resource Name (ARN) of the resource to which the policies are attached.
string
[REQUIRED]
A policy you want to associate with a resource.
string
The policy ID.
string
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy.
dict
Response Syntax
{ 'PolicyId': 'string', 'PolicyHash': 'string' }
Response Structure
(dict) --
PolicyId (string) --
The policy ID. To update a policy, you must specify PolicyId and PolicyHash .
PolicyHash (string) --
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
Returns an array of the Policy object.
See also: AWS API Documentation
Request Syntax
client.get_resource_policies( ResourceArn='string', NextToken='string', MaxResults=123 )
string
[REQUIRED]
Amazon Resource Name (ARN) of the resource to which the policies are attached.
string
A token to start the list. Use this token to get the next set of results.
integer
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
dict
Response Syntax
{ 'NextToken': 'string', 'Policies': [ { 'PolicyId': 'string', 'PolicyHash': 'string', 'Policy': 'string' }, ] }
Response Structure
(dict) --
NextToken (string) --
The token for the next set of items to return. Use this token to get the next set of results.
Policies (list) --
An array of the Policy object.
(dict) --
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
PolicyId (string) --
A policy ID.
PolicyHash (string) --
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
Policy (string) --
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
Deletes a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
See also: AWS API Documentation
Request Syntax
client.delete_resource_policy( ResourceArn='string', PolicyId='string', PolicyHash='string' )
string
[REQUIRED]
Amazon Resource Name (ARN) of the resource to which the policies are attached.
string
[REQUIRED]
The policy ID.
string
[REQUIRED]
ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.
dict
Response Syntax
{}
Response Structure
(dict) --
{'AccountId': 'string'}Response
{'OpsItemArn': 'string'}
Creates a new OpsItem. You must have permission in Identity and Access Management (IAM) to create a new OpsItem. For more information, see Getting started with 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 of their Amazon Web Services resources. For more information, see Amazon Web Services Systems Manager OpsCenter in the Amazon Web Services Systems Manager User Guide .
See also: AWS API Documentation
Request Syntax
client.create_ops_item( Description='string', OpsItemType='string', OperationalData={ 'string': { 'Value': 'string', 'Type': 'SearchableString'|'String' } }, Notifications=[ { 'Arn': 'string' }, ], Priority=123, RelatedOpsItems=[ { 'OpsItemId': 'string' }, ], Source='string', Title='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ], Category='string', Severity='string', ActualStartTime=datetime(2015, 1, 1), ActualEndTime=datetime(2015, 1, 1), PlannedStartTime=datetime(2015, 1, 1), PlannedEndTime=datetime(2015, 1, 1), AccountId='string' )
string
[REQUIRED]
Information about the OpsItem.
string
The type of OpsItem to create. Systems Manager supports the following types of OpsItems:
/aws/issue This type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequest This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insights This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
dict
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.
Warning
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/resources key in OperationalData to specify a related resource in the request. Use the /aws/automations key 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 .
(string) --
(dict) --
An object that defines the value of the key and its type in the OperationalData map.
Value (string) --
The value of the OperationalData key.
Type (string) --
The type of key-value pair. Valid types include SearchableString and String .
list
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
(dict) --
A notification about the OpsItem.
Arn (string) --
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.
integer
The importance of this OpsItem in relation to other OpsItems in the system.
list
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.
(dict) --
An OpsItems that shares 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.
OpsItemId (string) -- [REQUIRED]
The ID of an OpsItem related to the current OpsItem.
string
[REQUIRED]
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
Note
The source name can't contain the following strings: aws , amazon , and amzn .
string
[REQUIRED]
A short heading that describes the nature of the OpsItem and the impacted resource.
list
Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the Amazon Web Services Systems Manager User Guide .
Tags use a key-value pair. For example:
Key=Department,Value=Finance
Warning
To add tags to a new OpsItem, a user must have IAM permissions for both the ssm:CreateOpsItems operation and the ssm:AddTagsToResource operation. To add tags to an existing OpsItem, use the AddTagsToResource operation.
(dict) --
Metadata that you assign to your Amazon Web Services resources. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. In Amazon Web Services Systems Manager, you can apply tags to Systems Manager documents (SSM documents), managed nodes, maintenance windows, parameters, patch baselines, OpsItems, and OpsMetadata.
Key (string) -- [REQUIRED]
The name of the tag.
Value (string) -- [REQUIRED]
The value of the tag.
string
Specify a category to assign to an OpsItem.
string
Specify a severity to assign to an OpsItem.
datetime
The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest .
datetime
The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest .
datetime
The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type /aws/changerequest .
datetime
The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type /aws/changerequest .
string
The target Amazon Web Services account where you want to create an OpsItem. To make this call, your account must be configured to work with OpsItems across accounts. For more information, see Setting up OpsCenter to work with OpsItems across accounts in the Amazon Web Services Systems Manager User Guide .
dict
Response Syntax
{ 'OpsItemId': 'string', 'OpsItemArn': 'string' }
Response Structure
(dict) --
OpsItemId (string) --
The ID of the OpsItem.
OpsItemArn (string) --
The OpsItem Amazon Resource Name (ARN).
{'OpsItemFilters': {'Key': {'AccountId'}}}
Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Getting started with 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 of their Amazon Web Services resources. For more information, see OpsCenter in the Amazon Web Services Systems Manager User Guide .
See also: AWS API Documentation
Request Syntax
client.describe_ops_items( OpsItemFilters=[ { 'Key': 'Status'|'CreatedBy'|'Source'|'Priority'|'Title'|'OpsItemId'|'CreatedTime'|'LastModifiedTime'|'ActualStartTime'|'ActualEndTime'|'PlannedStartTime'|'PlannedEndTime'|'OperationalData'|'OperationalDataKey'|'OperationalDataValue'|'ResourceId'|'AutomationId'|'Category'|'Severity'|'OpsItemType'|'ChangeRequestByRequesterArn'|'ChangeRequestByRequesterName'|'ChangeRequestByApproverArn'|'ChangeRequestByApproverName'|'ChangeRequestByTemplate'|'ChangeRequestByTargetsResourceGroup'|'InsightByType'|'AccountId', 'Values': [ 'string', ], 'Operator': 'Equal'|'Contains'|'GreaterThan'|'LessThan' }, ], MaxResults=123, NextToken='string' )
list
One or more filters to limit the response.
Key: CreatedTime Operations: GreaterThan, LessThan
Key: LastModifiedBy Operations: Contains, Equals
Key: LastModifiedTime Operations: GreaterThan, LessThan
Key: Priority Operations: Equals
Key: Source Operations: Contains, Equals
Key: Status Operations: Equals
Key: Title* Operations: Equals,Contains
Key: OperationalData** Operations: Equals
Key: OperationalDataKey Operations: Equals
Key: OperationalDataValue Operations: Equals, Contains
Key: OpsItemId Operations: Equals
Key: ResourceId Operations: Contains
Key: AutomationId Operations: Equals
*The Equals operator for Title matches the first 100 characters. If you specify more than 100 characters, they system returns an error that the filter value exceeds the length limit.
**If you filter the response by using the OperationalData operator, specify a key-value pair by using the following JSON format: {"key":"key_name","value":"a_value"}
(dict) --
Describes an OpsItem filter.
Key (string) -- [REQUIRED]
The name of the filter.
Values (list) -- [REQUIRED]
The filter value.
(string) --
Operator (string) -- [REQUIRED]
The operator used by the filter call.
integer
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
string
A token to start the list. Use this token to get the next set of results.
dict
Response Syntax
{ 'NextToken': 'string', 'OpsItemSummaries': [ { 'CreatedBy': 'string', 'CreatedTime': datetime(2015, 1, 1), 'LastModifiedBy': 'string', 'LastModifiedTime': datetime(2015, 1, 1), 'Priority': 123, 'Source': 'string', 'Status': 'Open'|'InProgress'|'Resolved'|'Pending'|'TimedOut'|'Cancelling'|'Cancelled'|'Failed'|'CompletedWithSuccess'|'CompletedWithFailure'|'Scheduled'|'RunbookInProgress'|'PendingChangeCalendarOverride'|'ChangeCalendarOverrideApproved'|'ChangeCalendarOverrideRejected'|'PendingApproval'|'Approved'|'Rejected'|'Closed', 'OpsItemId': 'string', 'Title': 'string', 'OperationalData': { 'string': { 'Value': 'string', 'Type': 'SearchableString'|'String' } }, 'Category': 'string', 'Severity': 'string', 'OpsItemType': 'string', 'ActualStartTime': datetime(2015, 1, 1), 'ActualEndTime': datetime(2015, 1, 1), 'PlannedStartTime': datetime(2015, 1, 1), 'PlannedEndTime': datetime(2015, 1, 1) }, ] }
Response Structure
(dict) --
NextToken (string) --
The token for the next set of items to return. Use this token to get the next set of results.
OpsItemSummaries (list) --
A list of OpsItems.
(dict) --
A count of OpsItems.
CreatedBy (string) --
The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.
CreatedTime (datetime) --
The date and time the OpsItem was created.
LastModifiedBy (string) --
The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.
LastModifiedTime (datetime) --
The date and time the OpsItem was last updated.
Priority (integer) --
The importance of this OpsItem in relation to other OpsItems in the system.
Source (string) --
The impacted Amazon Web Services resource.
Status (string) --
The OpsItem status. Status can be Open , In Progress , or Resolved .
OpsItemId (string) --
The ID of the OpsItem.
Title (string) --
A short heading that describes the nature of the OpsItem and the impacted resource.
OperationalData (dict) --
Operational data is custom data that provides useful reference details about the OpsItem.
(string) --
(dict) --
An object that defines the value of the key and its type in the OperationalData map.
Value (string) --
The value of the OperationalData key.
Type (string) --
The type of key-value pair. Valid types include SearchableString and String .
Category (string) --
A list of OpsItems by category.
Severity (string) --
A list of OpsItems by severity.
OpsItemType (string) --
The type of OpsItem. Systems Manager supports the following types of OpsItems:
/aws/issue This type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequest This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insights This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
ActualStartTime (datetime) --
The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest .
ActualEndTime (datetime) --
The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest .
PlannedStartTime (datetime) --
The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type /aws/changerequest .
PlannedEndTime (datetime) --
The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type /aws/changerequest .
{'OpsItemArn': 'string'}Response
{'OpsItem': {'OpsItemArn': 'string'}}
Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view information about an OpsItem. For more information, see Getting started with 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 of their Amazon Web Services resources. For more information, see OpsCenter in the Amazon Web Services Systems Manager User Guide .
See also: AWS API Documentation
Request Syntax
client.get_ops_item( OpsItemId='string', OpsItemArn='string' )
string
[REQUIRED]
The ID of the OpsItem that you want to get.
string
The OpsItem Amazon Resource Name (ARN).
dict
Response Syntax
{ 'OpsItem': { 'CreatedBy': 'string', 'OpsItemType': 'string', 'CreatedTime': datetime(2015, 1, 1), 'Description': 'string', 'LastModifiedBy': 'string', 'LastModifiedTime': datetime(2015, 1, 1), 'Notifications': [ { 'Arn': 'string' }, ], 'Priority': 123, 'RelatedOpsItems': [ { 'OpsItemId': 'string' }, ], 'Status': 'Open'|'InProgress'|'Resolved'|'Pending'|'TimedOut'|'Cancelling'|'Cancelled'|'Failed'|'CompletedWithSuccess'|'CompletedWithFailure'|'Scheduled'|'RunbookInProgress'|'PendingChangeCalendarOverride'|'ChangeCalendarOverrideApproved'|'ChangeCalendarOverrideRejected'|'PendingApproval'|'Approved'|'Rejected'|'Closed', 'OpsItemId': 'string', 'Version': 'string', 'Title': 'string', 'Source': 'string', 'OperationalData': { 'string': { 'Value': 'string', 'Type': 'SearchableString'|'String' } }, 'Category': 'string', 'Severity': 'string', 'ActualStartTime': datetime(2015, 1, 1), 'ActualEndTime': datetime(2015, 1, 1), 'PlannedStartTime': datetime(2015, 1, 1), 'PlannedEndTime': datetime(2015, 1, 1), 'OpsItemArn': 'string' } }
Response Structure
(dict) --
OpsItem (dict) --
The OpsItem.
CreatedBy (string) --
The ARN of the Amazon Web Services account that created the OpsItem.
OpsItemType (string) --
The type of OpsItem. Systems Manager supports the following types of OpsItems:
/aws/issue This type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequest This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insights This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
CreatedTime (datetime) --
The date and time the OpsItem was created.
Description (string) --
The OpsItem description.
LastModifiedBy (string) --
The ARN of the Amazon Web Services account that last updated the OpsItem.
LastModifiedTime (datetime) --
The date and time the OpsItem was last updated.
Notifications (list) --
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.
(dict) --
A notification about the OpsItem.
Arn (string) --
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.
Priority (integer) --
The importance of this OpsItem in relation to other OpsItems in the system.
RelatedOpsItems (list) --
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.
(dict) --
An OpsItems that shares 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.
OpsItemId (string) --
The ID of an OpsItem related to the current OpsItem.
Status (string) --
The OpsItem status. Status can be Open , In Progress , or Resolved . For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide .
OpsItemId (string) --
The ID of the OpsItem.
Version (string) --
The version of this OpsItem. Each time the OpsItem is edited the version number increments by one.
Title (string) --
A short heading that describes the nature of the OpsItem and the impacted resource.
Source (string) --
The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source.
OperationalData (dict) --
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.
Warning
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/resources key in OperationalData to specify a related resource in the request. Use the /aws/automations key 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 .
(string) --
(dict) --
An object that defines the value of the key and its type in the OperationalData map.
Value (string) --
The value of the OperationalData key.
Type (string) --
The type of key-value pair. Valid types include SearchableString and String .
Category (string) --
An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.
Severity (string) --
The severity of the OpsItem. Severity options range from 1 to 4.
ActualStartTime (datetime) --
The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest .
ActualEndTime (datetime) --
The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest .
PlannedStartTime (datetime) --
The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type /aws/changerequest .
PlannedEndTime (datetime) --
The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type /aws/changerequest .
OpsItemArn (string) --
The OpsItem Amazon Resource Name (ARN).
{'OpsItemArn': 'string'}
Edit or change an OpsItem. You must have permission in Identity and Access Management (IAM) to update an OpsItem. For more information, see Getting started with 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 of their Amazon Web Services resources. For more information, see OpsCenter in the Amazon Web Services Systems Manager User Guide .
See also: AWS API Documentation
Request Syntax
client.update_ops_item( Description='string', OperationalData={ 'string': { 'Value': 'string', 'Type': 'SearchableString'|'String' } }, OperationalDataToDelete=[ 'string', ], Notifications=[ { 'Arn': 'string' }, ], Priority=123, RelatedOpsItems=[ { 'OpsItemId': 'string' }, ], Status='Open'|'InProgress'|'Resolved'|'Pending'|'TimedOut'|'Cancelling'|'Cancelled'|'Failed'|'CompletedWithSuccess'|'CompletedWithFailure'|'Scheduled'|'RunbookInProgress'|'PendingChangeCalendarOverride'|'ChangeCalendarOverrideApproved'|'ChangeCalendarOverrideRejected'|'PendingApproval'|'Approved'|'Rejected'|'Closed', OpsItemId='string', Title='string', Category='string', Severity='string', ActualStartTime=datetime(2015, 1, 1), ActualEndTime=datetime(2015, 1, 1), PlannedStartTime=datetime(2015, 1, 1), PlannedEndTime=datetime(2015, 1, 1), OpsItemArn='string' )
string
Update the information about the OpsItem. Provide enough information so that users reading this OpsItem for the first time understand the issue.
dict
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. The value has a maximum size of 20 KB.
Warning
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/resources key in OperationalData to specify a related resource in the request. Use the /aws/automations key 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 .
(string) --
(dict) --
An object that defines the value of the key and its type in the OperationalData map.
Value (string) --
The value of the OperationalData key.
Type (string) --
The type of key-value pair. Valid types include SearchableString and String .
list
Keys that you want to remove from the OperationalData map.
(string) --
list
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
(dict) --
A notification about the OpsItem.
Arn (string) --
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.
integer
The importance of this OpsItem in relation to other OpsItems in the system.
list
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.
(dict) --
An OpsItems that shares 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.
OpsItemId (string) -- [REQUIRED]
The ID of an OpsItem related to the current OpsItem.
string
The OpsItem status. Status can be Open , In Progress , or Resolved . For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide .
string
[REQUIRED]
The ID of the OpsItem.
string
A short heading that describes the nature of the OpsItem and the impacted resource.
string
Specify a new category for an OpsItem.
string
Specify a new severity for an OpsItem.
datetime
The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest .
datetime
The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest .
datetime
The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type /aws/changerequest .
datetime
The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type /aws/changerequest .
string
The OpsItem Amazon Resource Name (ARN).
dict
Response Syntax
{}
Response Structure
(dict) --