Amazon Simple Systems Manager (SSM)
    Amazon Simple Systems Manager (SSM)
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST

      /

      The Amazon SSM multi-region endpoint
      http://ssm.{region}.amazonaws.com
      The Amazon SSM multi-region endpoint
      http://ssm.{region}.amazonaws.com
      POST
      /
      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.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST 'http://ssm.{region}.amazonaws.com/' \
      --header 'X-Amz-Target;' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "Description": "string",
          "OpsItemType": "string",
          "OperationalData": {
              "property1": {
                  "Value": "string",
                  "Type": "SearchableString"
              }
          },
          "Notifications": [],
          "Priority": 0,
          "RelatedOpsItems": [],
          "Source": "string",
          "Title": "string",
          "Tags": [],
          "Category": "string",
          "Severity": "string",
          "ActualStartTime": "string",
          "ActualEndTime": "string",
          "PlannedStartTime": "string",
          "PlannedEndTime": "string",
          "AccountId": "string"
      }'
      Response Response Example
      200 - Example 1
      {
          "OpsItemId": "string",
          "OpsItemArn": "string"
      }

      Request

      Header Params
      X-Amz-Target
      string 
      required
      Body Params application/json
      Description
      string 
      required
      Information about the OpsItem.
      >= 1 characters<= 2048 characters
      Match pattern:
      [\s\S]*\S[\s\S]*
      OpsItemType
      string 
      optional
      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.
      OperationalData
      object 
      optional
      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.
      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.
      Notifications
      array[object (OpsItemNotification) {1}] 
      optional
      The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
      Arn
      string 
      optional
      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 
      optional
      The importance of this OpsItem in relation to other OpsItems in the system.
      >= 1<= 5
      RelatedOpsItems
      array[object (RelatedOpsItem) {1}] 
      optional
      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.
      OpsItemId
      string 
      required
      The ID of an OpsItem related to the current OpsItem.
      Source
      string 
      required
      The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
      >= 1 characters<= 128 characters
      Match pattern:
      ^(?!\s*$).+
      Title
      string 
      required
      A short heading that describes the nature of the OpsItem and the impacted resource.
      >= 1 characters<= 1024 characters
      Match pattern:
      ^(?!\s*$).+
      Tags
      array[object (Tag) {2}] 
      optional
      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
      <= 1000 items
      Key
      string 
      required
      The name of the tag.
      >= 1 characters<= 128 characters
      Match pattern:
      ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
      Value
      string 
      required
      The value of the tag.
      >= 0 characters<= 256 characters
      Match pattern:
      ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
      Category
      string 
      optional
      Specify a category to assign to an OpsItem.
      >= 1 characters<= 64 characters
      Match pattern:
      ^(?!\s*$).+
      Severity
      string 
      optional
      Specify a severity to assign to an OpsItem.
      >= 1 characters<= 64 characters
      Match pattern:
      ^(?!\s*$).+
      ActualStartTime
      string <date-time>
      optional
      The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest.
      ActualEndTime
      string <date-time>
      optional
      The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest.
      PlannedStartTime
      string <date-time>
      optional
      The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem type /aws/changerequest.
      PlannedEndTime
      string <date-time>
      optional
      The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem type /aws/changerequest.
      AccountId
      string 
      optional
      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.
      Match pattern:
      ^[0-9]{12}$
      Examples

      Responses

      🟢200Success
      application/json
      Body
      OpsItemId
      string 
      optional
      The ID of the OpsItem.
      OpsItemArn
      string 
      optional
      The OpsItem Amazon Resource Name (ARN).
      >= 20 characters<= 2048 characters
      Match pattern:
      arn:(aws[a-zA-Z-]*)?:ssm:[a-z0-9-\.]{0,63}:[0-9]{12}:opsitem.*
      🟠480InternalServerError
      🟠481OpsItemAlreadyExistsException
      🟠482OpsItemLimitExceededException
      🟠483OpsItemInvalidParameterException
      🟠484OpsItemAccessDeniedException
      Previous
      /
      Next
      /
      Built with