APIs.io Engineering Platform · Schema
ServiceLastAccessed
Contains details about the most recent attempt to access the service.
This data type is used as a response element in the GetServiceLastAccessedDetails operation.
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| ServiceName | object | |
| LastAuthenticated | object | |
| ServiceNamespace | object | |
| LastAuthenticatedEntity | object | |
| LastAuthenticatedRegion | object | |
| TotalAuthenticatedEntities | object | |
| TrackedActionsLastAccessed | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ServiceLastAccessed",
"title": "ServiceLastAccessed",
"type": "object",
"required": [
"ServiceName",
"ServiceNamespace"
],
"properties": {
"ServiceName": {
"allOf": [
{
"$ref": "#/components/schemas/serviceNameType"
},
{
"description": "The name of the service in which access was attempted."
}
]
},
"LastAuthenticated": {
"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 entity most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.</p> <p>This field is null if no IAM entities 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>"
}
]
},
"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>"
}
]
},
"LastAuthenticatedEntity": {
"allOf": [
{
"$ref": "#/components/schemas/arnType"
},
{
"description": "<p>The ARN of the authenticated entity (user or role) that last attempted to access the service. Amazon Web Services does not report unauthenticated requests.</p> <p>This field is null if no IAM entities 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>"
}
]
},
"LastAuthenticatedRegion": {
"allOf": [
{
"$ref": "#/components/schemas/stringType"
},
{
"description": "<p>The Region from which the authenticated entity (user or role) last attempted to access the service. Amazon Web Services does not report unauthenticated requests.</p> <p>This field is null if no IAM entities 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": "<p>The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service.</p> <p>This field is null if no principals 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>"
}
]
},
"TrackedActionsLastAccessed": {
"allOf": [
{
"$ref": "#/components/schemas/TrackedActionsLastAccessed"
},
{
"description": "<p>An object that contains details about the most recent attempt to access a tracked action within the service.</p> <p>This field is null if there no tracked actions or if the principal did not use the tracked actions 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>. This field is also null if the report was generated at the service level and not the action level. For more information, see the <code>Granularity</code> field in <a>GenerateServiceLastAccessedDetails</a>.</p>"
}
]
}
},
"description": "<p>Contains details about the most recent attempt to access the service.</p> <p>This data type is used as a response element in the <a>GetServiceLastAccessedDetails</a> operation.</p>"
}