AWS SDK Version 3 for .NET
API Reference

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.

Modifies the target of an existing Maintenance Window. You can't change the target type, but you can change the following:

The target from being an ID target to a Tag target, or a Tag target to an ID target.

IDs for an ID target.

Tags for a Tag target.




If a parameter is null, then the corresponding field is not modified.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to UpdateMaintenanceWindowTargetAsync.

Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z


public virtual UpdateMaintenanceWindowTargetResponse UpdateMaintenanceWindowTarget(
         UpdateMaintenanceWindowTargetRequest request
Type: Amazon.SimpleSystemsManagement.Model.UpdateMaintenanceWindowTargetRequest

Container for the necessary parameters to execute the UpdateMaintenanceWindowTarget service method.

Return Value
The response from the UpdateMaintenanceWindowTarget service method, as returned by SimpleSystemsManagement.


DoesNotExistException Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist. For information about resource limits in Systems Manager, see AWS Systems Manager Limits.
InternalServerErrorException An error occurred on the server side.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also