{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-secrets-manager/json-schema/amazon-secrets-manager-remove-regions-from-replication-response-schema.json",
  "title": "RemoveRegionsFromReplicationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-secrets-manager-operations-api-openapi.yml#/components/schemas/RemoveRegionsFromReplicationResponse",
  "type": "object",
  "properties": {
    "ARN": {
      "type": "string",
      "description": "The ARN of the primary secret."
    },
    "ReplicationStatus": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReplicationStatusType"
      },
      "description": "The status of replicas for this secret after you remove Regions."
    }
  },
  "$defs": {
    "ReplicationStatusType": {
      "type": "object",
      "properties": {
        "Region": {
          "type": "string",
          "description": "The Region where replication occurs."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "Can be an ARN, Key ID, or Alias."
        },
        "Status": {
          "type": "string",
          "enum": [
            "InSync",
            "Failed",
            "InProgress"
          ],
          "description": "The status can be InProgress, Failed, or InSync."
        },
        "StatusMessage": {
          "type": "string",
          "description": "Status message such as \"Secret with this name already exists in this region\"."
        },
        "LastAccessedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region."
        }
      }
    }
  }
}