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
      /
      Registers a compliance type and other compliance details on a designated resource. This operation lets you register custom compliance details with a resource. This call overwrites existing compliance information on the resource, so you must provide a full list of compliance items each time that you send the request.
      ComplianceType can be one of the following:
      • ExecutionId: The execution ID when the patch, association, or custom compliance item was applied.
      • ExecutionType: Specify patch, association, or Custom:string.
      • ExecutionTime. The time the patch, association, or custom compliance item was applied to the managed node.
      • Id: The patch, association, or custom compliance ID.
      • Title: A title.
      • Status: The status of the compliance item. For example, approved for patches, or Failed for associations.
      • Severity: A patch severity. For example, Critical.
      • DocumentName: An SSM document name. For example, AWS-RunPatchBaseline.
      • DocumentVersion: An SSM document version number. For example, 4.
      • Classification: A patch classification. For example, security updates.
      • PatchBaselineId: A patch baseline ID.
      • PatchSeverity: A patch severity. For example, Critical.
      • PatchState: A patch state. For example, InstancesWithFailedPatches.
      • PatchGroup: The name of a patch group.
      • InstalledTime: The time the association, patch, or custom compliance item was applied to the resource. Specify the time by using the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
      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 '{
          "ResourceId": "string",
          "ResourceType": "string",
          "ComplianceType": "string",
          "ExecutionSummary": {
              "ExecutionTime": "string",
              "ExecutionId": "string",
              "ExecutionType": "string"
          },
          "Items": [],
          "ItemContentHash": "string",
          "UploadType": "COMPLETE"
      }'
      Response Response Example
      200 - Example 1
      {}

      Request

      Header Params

      Body Params application/json

      Examples

      Responses

      🟢200Success
      application/json
      Body

      🟠480InternalServerError
      🟠481InvalidItemContentException
      🟠482TotalSizeLimitExceededException
      🟠483ItemSizeLimitExceededException
      🟠484ComplianceTypeCountLimitExceededException
      🟠485InvalidResourceType
      🟠486InvalidResourceId
      Modified at 2023-08-15 10:32:33
      Previous
      /
      Next
      /
      Built with