ListOntologies
Lists the ontologies in your account, with the status of each.
Request Parameters
- maxResults
-
The maximum number of ontology summaries to return in one page, 1–100. Defaults to 50. A value outside this range fails with ValidationException. AWS Context doesn't clamp it.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No
- nextToken
-
Opaque continuation token from a prior response's nextToken. Omit on the first page.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 4096.
Required: No
Response Elements
The following elements are returned by the service.
- items
-
One entry for each ontology that you own. Always present, and empty when you have none.
Type: Array of OntologySummary objects
- nextToken
-
The token for the next page of results. Pass it as
nextTokenin your next request. Absent on the last page. Treat the token as opaque.Type: String
Length Constraints: Minimum length of 1. Maximum length of 4096.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You don't have sufficient access to perform this operation. Verify that you have permission to perform the operation on the resource.
- message
-
A message that describes the error.
HTTP Status Code: 403
- InternalServerException
-
The request failed because of an internal error. Retry the request.
- message
-
A message that describes the error.
HTTP Status Code: 500
- ThrottlingException
-
The request was denied because it exceeded a request rate quota. Wait, then retry the request.
- message
-
A message that describes the error.
- quotaCode
-
The code of the quota that throttled the request.
- retryAfterSeconds
-
The number of seconds to wait before you retry the request, if AWS Context provides one.
- serviceCode
-
The code of the service whose quota throttled the request.
HTTP Status Code: 429
- ValidationException
-
The input fails to satisfy the constraints of the operation. Correct the input before you retry the request.
- fieldList
-
The fields that failed validation, each with a message that describes why.
- message
-
A message that describes the error.
- reason
-
The reason that the input failed validation. Valid values:
-
unknownOperation- The operation isn't recognized. -
cannotParse- The request couldn't be parsed. -
fieldValidationFailed- One or more fields failed validation.fieldListdescribes them. -
other- Another reason.messagedescribes it.
-
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: