Amazon IAM · Schema
GetServiceLastAccessedDetailsResponse
Identity and Access ManagementAuthenticationAuthorizationAmazon Web ServicesIdentitySecurity
Properties
| Name | Type | Description |
|---|---|---|
| JobStatus | string | The status of the job. |
| JobType | string | The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed. |
| JobCreationDate | string | The date and time, in ISO 8601 date-time format, when the report job was created. |
| ServicesLastAccessed | array | A ServiceLastAccessed object that contains details about the most recent attempt to access the service. |
| JobCompletionDate | string | The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed. This field is null if the job is still in progress, as indicated by a job status value of IN_PRO |
| IsTruncated | boolean | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. No |
| Marker | string | When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. |
| Error | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-get-service-last-accessed-details-response-schema.json",
"title": "GetServiceLastAccessedDetailsResponse",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-iam-service-last-accessed-detail-api-openapi.yml#/components/schemas/GetServiceLastAccessedDetailsResponse",
"type": "object",
"properties": {
"JobStatus": {
"type": "string",
"enum": [
"IN_PROGRESS",
"COMPLETED",
"FAILED"
],
"description": "The status of the job."
},
"JobType": {
"type": "string",
"enum": [
"SERVICE_LEVEL",
"ACTION_LEVEL"
],
"description": "The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed."
},
"JobCreationDate": {
"type": "string",
"format": "date-time",
"description": "The date and time, in ISO 8601 date-time format, when the report job was created."
},
"ServicesLastAccessed": {
"type": "array",
"items": {
"$ref": "#/$defs/ServiceLastAccessed"
},
"description": "A ServiceLastAccessed object that contains details about the most recent attempt to access the service."
},
"JobCompletionDate": {
"type": "string",
"format": "date-time",
"description": "The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed. This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS."
},
"IsTruncated": {
"type": "boolean",
"description": "A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results."
},
"Marker": {
"type": "string",
"description": "When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request."
},
"Error": {
"$ref": "#/$defs/ErrorDetails"
}
},
"required": [
"JobStatus",
"JobCreationDate",
"ServicesLastAccessed",
"JobCompletionDate"
],
"$defs": {
"ErrorDetails": {
"type": "object",
"properties": {
"Message": {
"type": "string",
"description": "Detailed information about the reason that the operation failed."
},
"Code": {
"type": "string",
"description": "The error code associated with the operation failure."
}
},
"required": [
"Message",
"Code"
]
},
"ServiceLastAccessed": {
"type": "object",
"properties": {
"ServiceName": {
"type": "string",
"description": "The name of the service in which access was attempted."
},
"LastAuthenticated": {
"type": "string",
"format": "date-time",
"description": "The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period."
},
"ServiceNamespace": {
"type": "string",
"description": "The namespace of the service in which access was attempted. To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services Service Namespaces in the Amazon Web Services General Reference."
},
"LastAuthenticatedEntity": {
"type": "string",
"description": "The ARN of the authenticated entity (user or role) that last attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period."
},
"LastAuthenticatedRegion": {
"type": "string",
"description": "The Region from which the authenticated entity (user or role) last attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period."
},
"TotalAuthenticatedEntities": {
"type": "integer",
"description": "The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service. This field is null if no principals attempted to access the service within the tracking period."
},
"TrackedActionsLastAccessed": {
"type": "array",
"items": {
"$ref": "#/$defs/TrackedActionLastAccessed"
},
"description": "An object that contains details about the most recent attempt to access a tracked action within the service. This field is null if there no tracked actions or if the principal did not use the tracked actions within the tracking period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails."
}
},
"required": [
"ServiceName",
"ServiceNamespace"
]
},
"TrackedActionLastAccessed": {
"type": "object",
"properties": {
"ActionName": {
"type": "string",
"description": "The name of the tracked action to which access was attempted. Tracked actions are actions that report activity to IAM."
},
"LastAccessedEntity": {
"type": "string"
},
"LastAccessedTime": {
"type": "string",
"format": "date-time",
"description": "The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the tracked service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period."
},
"LastAccessedRegion": {
"type": "string",
"description": "The Region from which the authenticated entity (user or role) last attempted to access the tracked action. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-iam-get-service-last-accessed-details-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.