// Registers a target with a maintenance window.
Registers a target with a maintenance window.
// Registers a target with a maintenance window .
func (c *Client) RegisterTargetWithMaintenanceWindow(ctx context.Context, params *RegisterTargetWithMaintenanceWindowInput, optFns ...func(*Options)) (*RegisterTargetWithMaintenanceWindowOutput, error) {
	if params == nil {
		params = &RegisterTargetWithMaintenanceWindowInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "RegisterTargetWithMaintenanceWindow", params, optFns, addOperationRegisterTargetWithMaintenanceWindowMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*RegisterTargetWithMaintenanceWindowOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) RegisterTargetWithMaintenanceWindow ( ctx context . Context , params * RegisterTargetWithMaintenanceWindowInput , optFns ... func ( * Options ) ) ( * RegisterTargetWithMaintenanceWindowOutput , error ) { if params == nil { params = & RegisterTargetWithMaintenanceWindowInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationRegisterTargetWithMaintenanceWindowMiddlewares ) if err != nil { return nil , err } out := result . ( * RegisterTargetWithMaintenanceWindowOutput ) out . ResultMetadata = metadata return out , nil }
Registers a target with a maintenance window.
Registers a target with a maintenance window .