list_domain_maintenances
async
¶
list_domain_maintenances(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
action: Optional[MaintenanceType] = None,
status: Optional[MaintenanceStatus] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListDomainMaintenancesResponse
A list of maintenance actions for the domain.
Parameters:
-
domain_name(DomainName) –The name of the domain.
-
action(Optional[MaintenanceType], default:None) –The name of the action.
-
status(Optional[MaintenanceStatus], default:None) –The status of the action.
-
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
ListDomainMaintenancesoperation returns anextToken, include the returnednextTokenin subsequentListDomainMaintenancesoperations, 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.
Source code in docs_src/capo_opensearch/_services/async_open_search.py
4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 | |