apply_pending_maintenance_action
¶
apply_pending_maintenance_action(
resource_arn: InputString,
apply_action: InputString,
opt_in_type: OptInType,
*,
config_overrides: Optional[DocDBElasticClientConfig] = None,
apply_on: Optional[InputString] = None,
) -> ApplyPendingMaintenanceActionOutput
The type of pending maintenance action to be applied to the resource.
Parameters:
-
resource_arn(InputString) –The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.
-
apply_action(InputString) –The pending maintenance action to apply to the resource.
Valid actions are:
-
ENGINE_UPDATE -
ENGINE_UPGRADE -
SECURITY_UPDATE -
OS_UPDATE -
MASTER_USER_PASSWORD_UPDATE
-
-
opt_in_type(OptInType) –A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type
IMMEDIATEcan't be undone. -
apply_on(Optional[InputString], default:None) –A specific date to apply the pending maintenance action. Required if opt-in-type is
APPLY_ON. Format:yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm
Raises:
-
AccessDeniedException–An exception that occurs when there are not sufficient permissions to perform an action.
-
ConflictException–There was an access conflict.
-
InternalServerException–There was an internal server error.
-
ResourceNotFoundException–The specified resource could not be located.
-
ThrottlingException–ThrottlingException will be thrown when request was denied due to request throttling.
-
ValidationException–A structure defining a validation exception.
-
UnknownServiceError–The service returned an error code this client does not model.