AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Applies a pending maintenance action to a resource (for example, to a DB instance).
For .NET Core this operation is only available in asynchronous form. Please refer to ApplyPendingMaintenanceActionAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public abstract ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction( ApplyPendingMaintenanceActionRequest request )
Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method.
Exception | Condition |
---|---|
ResourceNotFoundException | The specified resource ID was not found. |
This example immediately applies a pending system update to a DB instance.
var response = client.ApplyPendingMaintenanceAction(new ApplyPendingMaintenanceActionRequest { ApplyAction = "system-update", OptInType = "immediate", ResourceIdentifier = "arn:aws:rds:us-east-1:992648334831:db:mymysqlinstance" }); ResourcePendingMaintenanceActions resourcePendingMaintenanceActions = response.ResourcePendingMaintenanceActions;
.NET Framework:
Supported in: 4.5 and newer, 3.5