get_upgrade_history
async
¶
get_upgrade_history(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetUpgradeHistoryResponse
Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
Parameters:
-
domain_name(DomainName) –The name of an existing domain.
-
max_results(Optional[MaxResults], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. -
next_token(Optional[NextToken], default:None) –If your initial
GetUpgradeHistoryoperation returns anextToken, you can include the returnednextTokenin subsequentGetUpgradeHistoryoperations, which returns results in the next page.
Raises:
-
BaseException–An error occurred while processing the request.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.