{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccessDetail",
  "title": "AccessDetail",
  "type": "object",
  "required": [
    "ServiceName",
    "ServiceNamespace"
  ],
  "properties": {
    "ServiceName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/serviceNameType"
        },
        {
          "description": "The name of the service in which access was attempted."
        }
      ]
    },
    "ServiceNamespace": {
      "allOf": [
        {
          "$ref": "#/components/schemas/serviceNamespaceType"
        },
        {
          "description": "<p>The namespace of the service in which access was attempted.</p> <p>To learn the service namespace of a service, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html\">Actions, resources, and condition keys for Amazon Web Services services</a> in the <i>Service Authorization Reference</i>. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, <code>(service prefix: a4b)</code>. For more information about service namespaces, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces\">Amazon Web Services service namespaces</a> in the\u00c2 <i>Amazon Web Services General Reference</i>.</p>"
        }
      ]
    },
    "Region": {
      "allOf": [
        {
          "$ref": "#/components/schemas/stringType"
        },
        {
          "description": "<p>The Region where the last service access attempt occurred.</p> <p>This field is null if no principals in the reported Organizations entity attempted to access the service within the <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period\">tracking period</a>.</p>"
        }
      ]
    },
    "EntityPath": {
      "allOf": [
        {
          "$ref": "#/components/schemas/organizationsEntityPathType"
        },
        {
          "description": "<p>The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.</p> <p>This field is null if no principals (IAM users, IAM roles, or root user) in the reported Organizations entity attempted to access the service within the <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period\">tracking period</a>.</p>"
        }
      ]
    },
    "LastAuthenticatedTime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/dateType"
        },
        {
          "description": "<p>The date and time, in\u00c2 <a href=\"http://www.iso.org/iso/iso8601\">ISO 8601 date-time format</a>, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.</p> <p>This field is null if no principals in the reported Organizations entity attempted to access the service within the <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period\">tracking period</a>.</p>"
        }
      ]
    },
    "TotalAuthenticatedEntities": {
      "allOf": [
        {
          "$ref": "#/components/schemas/integerType"
        },
        {
          "description": "The number of accounts with authenticated principals (root user, IAM users, and IAM roles) that attempted to access the service in the tracking period."
        }
      ]
    }
  },
  "description": "<p>An object that contains details about when a principal in the reported Organizations entity last attempted to access an Amazon Web Services service. A principal can be an IAM user, an IAM role, or the Amazon Web Services account root user within the reported Organizations entity.</p> <p>This data type is a response element in the <a>GetOrganizationsAccessReport</a> operation.</p>"
}